mirror of
https://github.com/monero-project/monero.git
synced 2024-12-26 15:39:33 -05:00
Merge pull request #1931
89e100bc
wallet cli: remove redundant password confirm in donate command (kenshi84)
This commit is contained in:
commit
bf665e5991
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user