wallet cli: remove redundant password confirm in donate command
This commit is contained in:
parent
c9063c0b8f
commit
89e100bc8c
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue