simplewallet: fix setting default-ring-size to 0

It'd be set to the current wallet default instead
This commit is contained in:
moneromooo-monero 2017-10-03 11:45:02 +01:00
parent a2041c9874
commit b5b4abb8a6
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 0 additions and 2 deletions

View File

@ -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");
return true;
}
if (ring_size == 0)
ring_size = DEFAULT_MIX + 1;
const auto pwd_container = get_and_verify_password();
if (pwd_container)