aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-06-20 14:09:42 -0500
committerluigi1111 <luigi1111w@gmail.com>2018-06-20 14:09:42 -0500
commit36aeaa7545b3c57ee8d439bae6768ce18a76a6d0 (patch)
tree6538141cde7a7b2cd5f2f7bbf32394bdb33244ed /src/cryptonote_basic
parentMerge pull request #3880 (diff)
parenthandle optional miner params better (diff)
downloadmonero-36aeaa7545b3c57ee8d439bae6768ce18a76a6d0.tar.xz
Merge pull request #3757
6f9260e handle optional miner params better (cryptochangements34)
Diffstat (limited to 'src/cryptonote_basic')
-rw-r--r--src/cryptonote_basic/miner.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cryptonote_basic/miner.cpp b/src/cryptonote_basic/miner.cpp
index 2c777f5a2..3a3222f9b 100644
--- a/src/cryptonote_basic/miner.cpp
+++ b/src/cryptonote_basic/miner.cpp
@@ -328,6 +328,11 @@ namespace cryptonote
LOG_PRINT_L0("Background mining controller thread started" );
}
+ if(get_ignore_battery())
+ {
+ MINFO("Ignoring battery");
+ }
+
return true;
}
//-----------------------------------------------------------------------------------------------------