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 | |
| parent | c9063c0b8f78a1fca4c2306d5b1df5f664c030c2 (diff) | |
| download | monzero-core-89e100bc8c80b9da9118a457accf9afe52fbcf0b.tar.gz monzero-core-89e100bc8c80b9da9118a457accf9afe52fbcf0b.tar.xz monzero-core-89e100bc8c80b9da9118a457accf9afe52fbcf0b.zip | |
wallet cli: remove redundant password confirm in donate command
Diffstat (limited to 'src')
| -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) { |
