aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-07-31 08:36:57 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-07-31 08:36:57 +0100
commit87b5ede9085411b76de059f410d2de2ef6915331 (patch)
tree636e8e129d3f64cef9440c5188ab0c38578b4065 /src
parentMerge pull request #2159 (diff)
downloadmonero-87b5ede9085411b76de059f410d2de2ef6915331.tar.xz
miner: fix ignoring battery from command line
Diffstat (limited to 'src')
-rw-r--r--src/cryptonote_basic/miner.cpp2
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());
}
}
//-----------------------------------------------------------------------------------------------------