diff options
author | NanoAkron <nanoakron@users.noreply.github.com> | 2016-10-03 22:11:00 +0100 |
---|---|---|
committer | NanoAkron <nanoakron@users.noreply.github.com> | 2016-10-03 22:11:00 +0100 |
commit | 8ed0d72b12e6b0d1733c106d07c1b1036507e81e (patch) | |
tree | 541da023a4cc9d6a80702e694cc8865dd8adb56e /src/cryptonote_core/miner.cpp | |
parent | Added messages at log level 2 to reflect deactivation procedure (diff) | |
download | monero-8ed0d72b12e6b0d1733c106d07c1b1036507e81e.tar.xz |
Moved logging to target functions rather than caller
Diffstat (limited to 'src/cryptonote_core/miner.cpp')
-rw-r--r-- | src/cryptonote_core/miner.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cryptonote_core/miner.cpp b/src/cryptonote_core/miner.cpp index ec717a13d..7e4f705a2 100644 --- a/src/cryptonote_core/miner.cpp +++ b/src/cryptonote_core/miner.cpp @@ -278,7 +278,10 @@ namespace cryptonote //----------------------------------------------------------------------------------------------------- bool miner::stop() { + LOG_PRINT_L1("Miner has received stop signal"); + if (!is_mining()) + LOG_PRINT_L1("Not mining - nothing to stop" ); return true; send_stop_signal(); |