Merge pull request #5685

a604241 simplewallet: don't ask about mining when running a command line (moneromooo-monero)
pull/326/head
luigi1111 5 years ago
commit 459beb50d4
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

@ -4089,7 +4089,9 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
m_wallet->callback(this);
check_background_mining(password);
bool skip_check_backround_mining = !command_line::get_arg(vm, arg_command).empty();
if (!skip_check_backround_mining)
check_background_mining(password);
if (welcome)
message_writer(console_color_yellow, true) << tr("If you are new to Monero, type \"welcome\" for a brief overview.");

Loading…
Cancel
Save