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

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