mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-14 07:03:29 +01:00
Merge pull request #2569
b5b4abb8
simplewallet: fix setting default-ring-size to 0 (moneromooo-monero)
This commit is contained in:
commit
1039b5e813
@ -548,8 +548,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