diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-10-03 11:45:02 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-10-03 11:45:02 +0100 |
commit | b5b4abb8a6a330f36c144ea66a4cfd38ec0473a3 (patch) | |
tree | 8f4bca5b85fc6f4e9e4815550498923a33fadde3 /src | |
parent | Merge pull request #2518 (diff) | |
download | monero-b5b4abb8a6a330f36c144ea66a4cfd38ec0473a3.tar.xz |
simplewallet: fix setting default-ring-size to 0
It'd be set to the current wallet default instead
Diffstat (limited to 'src')
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index b7d6a82bf..a4ef26e60 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -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) |