Merge pull request #2569

b5b4abb8 simplewallet: fix setting default-ring-size to 0 (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2017-10-15 18:32:41 +02:00
commit 1039b5e813
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 0 additions and 2 deletions

View File

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