mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
miner: fix ignoring battery from command line
This commit is contained in:
parent
ab594cfee9
commit
87b5ede908
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue