aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-02-21 11:16:08 +0200
committerRiccardo Spagni <ric@spagni.net>2017-02-21 11:16:08 +0200
commitd2059dfab297c01f0edf35dfb07acf5ebc42543e (patch)
tree6f965649b1efbe48b20df08beb47fb9d29878177 /src/rpc/core_rpc_server.cpp
parentMerge pull request #1749 (diff)
parentMore robust battery status handling. (diff)
downloadmonero-d2059dfab297c01f0edf35dfb07acf5ebc42543e.tar.xz
Merge pull request #1737
69ab14d9 More robust battery status handling. (Dion Ahmetaj)
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r--src/rpc/core_rpc_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index 2906e6433..157076e82 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -635,7 +635,7 @@ namespace cryptonote
boost::thread::attributes attrs;
attrs.set_stack_size(THREAD_STACK_SIZE);
- if(!m_core.get_miner().start(adr, static_cast<size_t>(req.threads_count), attrs, req.do_background_mining))
+ if(!m_core.get_miner().start(adr, static_cast<size_t>(req.threads_count), attrs, req.do_background_mining, req.ignore_battery))
{
res.status = "Failed, mining not started";
LOG_PRINT_L0(res.status);