mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
wallet cli: remove redundant password confirm in donate command
This commit is contained in:
parent
c9063c0b8f
commit
89e100bc8c
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue