From b5b4abb8a6a330f36c144ea66a4cfd38ec0473a3 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Tue, 3 Oct 2017 11:45:02 +0100 Subject: [PATCH] simplewallet: fix setting default-ring-size to 0 It'd be set to the current wallet default instead --- src/simplewallet/simplewallet.cpp | 2 -- 1 file changed, 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 &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)