mirror of
https://github.com/monero-project/monero.git
synced 2025-05-11 01:14:59 -04:00
handle optional miner params better
This commit is contained in:
parent
7ed94d3122
commit
6f9260e38e
2 changed files with 22 additions and 2 deletions
|
@ -328,6 +328,11 @@ namespace cryptonote
|
|||
LOG_PRINT_L0("Background mining controller thread started" );
|
||||
}
|
||||
|
||||
if(get_ignore_battery())
|
||||
{
|
||||
MINFO("Ignoring battery");
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
//-----------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue