diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-07-31 08:36:57 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-07-31 08:36:57 +0100 |
commit | 87b5ede9085411b76de059f410d2de2ef6915331 (patch) | |
tree | 636e8e129d3f64cef9440c5188ab0c38578b4065 /src/cryptonote_basic/miner.cpp | |
parent | Merge pull request #2159 (diff) | |
download | monero-87b5ede9085411b76de059f410d2de2ef6915331.tar.xz |
miner: fix ignoring battery from command line
Diffstat (limited to '')
-rw-r--r-- | src/cryptonote_basic/miner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_basic/miner.cpp b/src/cryptonote_basic/miner.cpp index cd0943618..b97da9817 100644 --- a/src/cryptonote_basic/miner.cpp +++ b/src/cryptonote_basic/miner.cpp @@ -382,7 +382,7 @@ namespace cryptonote boost::thread::attributes attrs; 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()); } } //----------------------------------------------------------------------------------------------------- |