diff options
author | luigi1111 <luigi1111w@gmail.com> | 2018-06-20 14:09:42 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2018-06-20 14:09:42 -0500 |
commit | 36aeaa7545b3c57ee8d439bae6768ce18a76a6d0 (patch) | |
tree | 6538141cde7a7b2cd5f2f7bbf32394bdb33244ed /src/cryptonote_basic | |
parent | Merge pull request #3880 (diff) | |
parent | handle optional miner params better (diff) | |
download | monero-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.cpp | 5 |
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; } //----------------------------------------------------------------------------------------------------- |