mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00: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
1 changed files with 0 additions and 2 deletions
|
@ -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 a new issue