aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-10-03 11:45:02 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-10-03 11:45:02 +0100
commitb5b4abb8a6a330f36c144ea66a4cfd38ec0473a3 (patch)
tree8f4bca5b85fc6f4e9e4815550498923a33fadde3
parentMerge pull request #2518 (diff)
downloadmonero-b5b4abb8a6a330f36c144ea66a4cfd38ec0473a3.tar.xz
simplewallet: fix setting default-ring-size to 0
It'd be set to the current wallet default instead
-rw-r--r--src/simplewallet/simplewallet.cpp2
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)