aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.cpp
diff options
context:
space:
mode:
authorkenshi84 <kenshi84@protonmail.ch>2017-03-27 11:02:20 +0900
committerkenshi84 <kenshi84@protonmail.ch>2017-03-27 11:02:20 +0900
commit89e100bc8c80b9da9118a457accf9afe52fbcf0b (patch)
tree36e3e9ec13c9ee5c4ed614d4ea58902435bfe762 /src/simplewallet/simplewallet.cpp
parentMerge pull request #1930 (diff)
downloadmonero-89e100bc8c80b9da9118a457accf9afe52fbcf0b.tar.xz
wallet cli: remove redundant password confirm in donate command
Diffstat (limited to '')
-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 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<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)
{