mirror of
https://github.com/monero-project/monero.git
synced 2025-12-31 15:06:11 -08:00
Merge pull request #1737
69ab14d9 More robust battery status handling. (Dion Ahmetaj)
This commit is contained in:
@@ -635,7 +635,7 @@ namespace cryptonote
|
||||
boost::thread::attributes attrs;
|
||||
attrs.set_stack_size(THREAD_STACK_SIZE);
|
||||
|
||||
if(!m_core.get_miner().start(adr, static_cast<size_t>(req.threads_count), attrs, req.do_background_mining))
|
||||
if(!m_core.get_miner().start(adr, static_cast<size_t>(req.threads_count), attrs, req.do_background_mining, req.ignore_battery))
|
||||
{
|
||||
res.status = "Failed, mining not started";
|
||||
LOG_PRINT_L0(res.status);
|
||||
|
||||
Reference in New Issue
Block a user