diff options
author | cryptochangements34 <bevanoffr@gmail.com> | 2018-05-06 12:28:57 -0400 |
---|---|---|
committer | cryptochangements34 <bevanoffr@gmail.com> | 2018-05-06 12:28:57 -0400 |
commit | 6f9260e38e15b7e78fb93977877000aec268aebe (patch) | |
tree | d774df084c6d586901d740f816394570939ccb35 /src/cryptonote_basic | |
parent | Merge pull request #3752 (diff) | |
download | monero-6f9260e38e15b7e78fb93977877000aec268aebe.tar.xz |
handle optional miner params better
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; } //----------------------------------------------------------------------------------------------------- |