mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 18:47:36 -07:00
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_)
|
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_;
|
std::vector<std::string> local_args = args_;
|
||||||
if(local_args.empty() || local_args.size() > 3)
|
if(local_args.empty() || local_args.size() > 3)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user