From 89e100bc8c80b9da9118a457accf9afe52fbcf0b Mon Sep 17 00:00:00 2001 From: kenshi84 Date: Mon, 27 Mar 2017 11:02:20 +0900 Subject: wallet cli: remove redundant password confirm in donate command --- src/simplewallet/simplewallet.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/simplewallet/simplewallet.cpp') diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index f5a469af4..4e494d9e8 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -2993,7 +2993,6 @@ bool simple_wallet::sweep_all(const std::vector &args_) //---------------------------------------------------------------------------------------------------- bool simple_wallet::donate(const std::vector &args_) { - if (m_wallet->ask_password() && !get_and_verify_password()) { return true; } std::vector local_args = args_; if(local_args.empty() || local_args.size() > 3) { -- cgit v1.2.3