wallet cli: remove redundant password confirm in donate command

This commit is contained in:
kenshi84 2017-03-27 11:02:20 +09:00
parent c9063c0b8f
commit 89e100bc8c
No known key found for this signature in database
GPG key ID: 2EDF47F7E1A26933

View file

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