Merge pull request #1931

89e100bc wallet cli: remove redundant password confirm in donate command (kenshi84)
This commit is contained in:
Riccardo Spagni 2017-04-11 00:14:02 +02:00
commit bf665e5991
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 0 additions and 1 deletions

View File

@ -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)
{