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/miner.cpp | |
| parent | 70f932fe0ae016bab0f21894796412821f425e39 (diff) | |
| parent | 6f9260e38e15b7e78fb93977877000aec268aebe (diff) | |
| download | monzero-core-36aeaa7545b3c57ee8d439bae6768ce18a76a6d0.tar.gz monzero-core-36aeaa7545b3c57ee8d439bae6768ce18a76a6d0.tar.xz monzero-core-36aeaa7545b3c57ee8d439bae6768ce18a76a6d0.zip | |
Merge pull request #3757
6f9260e handle optional miner params better (cryptochangements34)
Diffstat (limited to 'src/cryptonote_basic/miner.cpp')
| -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; } //----------------------------------------------------------------------------------------------------- |
