aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic/miner.cpp
diff options
context:
space:
mode:
authorcryptochangements34 <bevanoffr@gmail.com>2018-05-06 12:28:57 -0400
committercryptochangements34 <bevanoffr@gmail.com>2018-05-06 12:28:57 -0400
commit6f9260e38e15b7e78fb93977877000aec268aebe (patch)
treed774df084c6d586901d740f816394570939ccb35 /src/cryptonote_basic/miner.cpp
parentMerge pull request #3752 (diff)
downloadmonero-6f9260e38e15b7e78fb93977877000aec268aebe.tar.xz
handle optional miner params better
Diffstat (limited to 'src/cryptonote_basic/miner.cpp')
-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;
}
//-----------------------------------------------------------------------------------------------------