mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-10 13:13:27 +01:00
Merge pull request #2232
87b5ede9
miner: fix ignoring battery from command line (moneromooo-monero)
This commit is contained in:
commit
da2c662cf2
@ -382,7 +382,7 @@ namespace cryptonote
|
|||||||
boost::thread::attributes attrs;
|
boost::thread::attributes attrs;
|
||||||
attrs.set_stack_size(THREAD_STACK_SIZE);
|
attrs.set_stack_size(THREAD_STACK_SIZE);
|
||||||
|
|
||||||
start(m_mine_address, m_threads_total, attrs, get_is_background_mining_enabled());
|
start(m_mine_address, m_threads_total, attrs, get_is_background_mining_enabled(), get_ignore_battery());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//-----------------------------------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user