mirror of
https://github.com/monero-project/monero.git
synced 2024-12-29 14:16:11 -05:00
simplewallet: fix setting default-ring-size to 0
It'd be set to the current wallet default instead
This commit is contained in:
parent
a2041c9874
commit
b5b4abb8a6
@ -524,8 +524,6 @@ bool simple_wallet::set_default_ring_size(const std::vector<std::string> &args/*
|
|||||||
fail_msg_writer() << tr("ring size must be an integer >= 3");
|
fail_msg_writer() << tr("ring size must be an integer >= 3");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (ring_size == 0)
|
|
||||||
ring_size = DEFAULT_MIX + 1;
|
|
||||||
|
|
||||||
const auto pwd_container = get_and_verify_password();
|
const auto pwd_container = get_and_verify_password();
|
||||||
if (pwd_container)
|
if (pwd_container)
|
||||||
|
Loading…
Reference in New Issue
Block a user