mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 16:27:39 +00:00
simplewallet: don't ask about mining when running a command line
This is likely to be done via a script
This commit is contained in:
parent
6335509727
commit
a604241ef6
1 changed files with 3 additions and 1 deletions
|
@ -4087,6 +4087,8 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
|
||||||
|
|
||||||
m_wallet->callback(this);
|
m_wallet->callback(this);
|
||||||
|
|
||||||
|
bool skip_check_backround_mining = !command_line::get_arg(vm, arg_command).empty();
|
||||||
|
if (!skip_check_backround_mining)
|
||||||
check_background_mining(password);
|
check_background_mining(password);
|
||||||
|
|
||||||
if (welcome)
|
if (welcome)
|
||||||
|
|
Loading…
Reference in a new issue