aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic/miner.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-08-15 20:45:02 +0200
committerRiccardo Spagni <ric@spagni.net>2017-08-15 20:45:02 +0200
commitda2c662cf2de5ad06987e486c710d26387d80cde (patch)
treeb5cf98454b1c16999acc7bc8ef9d4bdcd5de4600 /src/cryptonote_basic/miner.cpp
parentMerge pull request #2205 (diff)
parentminer: fix ignoring battery from command line (diff)
downloadmonero-da2c662cf2de5ad06987e486c710d26387d80cde.tar.xz
Merge pull request #2232
87b5ede9 miner: fix ignoring battery from command line (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_basic/miner.cpp')
-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 9248e2e1d..b14532d44 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());
}
}
//-----------------------------------------------------------------------------------------------------