aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-04-11 00:14:02 +0200
committerRiccardo Spagni <ric@spagni.net>2017-04-11 00:14:02 +0200
commitbf665e599109491e74a851be4cd323ee91ff6aba (patch)
tree96f7d3060c028cf93c386b52bdef0ab9acd6fb91
parent541e1ff4749970cd359c864cf68539851e95bed7 (diff)
parent89e100bc8c80b9da9118a457accf9afe52fbcf0b (diff)
downloadmonzero-core-bf665e599109491e74a851be4cd323ee91ff6aba.tar.gz
monzero-core-bf665e599109491e74a851be4cd323ee91ff6aba.tar.xz
monzero-core-bf665e599109491e74a851be4cd323ee91ff6aba.zip
Merge pull request #1931
89e100bc wallet cli: remove redundant password confirm in donate command (kenshi84)
-rw-r--r--src/simplewallet/simplewallet.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index f3483fa22..0fa24d51e 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -2851,7 +2851,6 @@ bool simple_wallet::sweep_all(const std::vector<std::string> &args_)
//----------------------------------------------------------------------------------------------------
bool simple_wallet::donate(const std::vector<std::string> &args_)
{
- if (m_wallet->ask_password() && !get_and_verify_password()) { return true; }
std::vector<std::string> local_args = args_;
if(local_args.empty() || local_args.size() > 3)
{