diff options
author | kenshi84 <kenshi84@protonmail.ch> | 2017-03-27 11:02:20 +0900 |
---|---|---|
committer | kenshi84 <kenshi84@protonmail.ch> | 2017-03-27 11:02:20 +0900 |
commit | 89e100bc8c80b9da9118a457accf9afe52fbcf0b (patch) | |
tree | 36e3e9ec13c9ee5c4ed614d4ea58902435bfe762 /src/simplewallet/simplewallet.cpp | |
parent | Merge pull request #1930 (diff) | |
download | monero-89e100bc8c80b9da9118a457accf9afe52fbcf0b.tar.xz |
wallet cli: remove redundant password confirm in donate command
Diffstat (limited to '')
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 1 |
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) { |