aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-09-14 13:10:51 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-09-14 13:10:51 -0500
commitb52620800100063ffac771e98101ae10fb5a3fbd (patch)
treea00e67ea16333a0683d740341992febcf0baf835
parent6e1257cfbd6fc0889687c419a5ccb0d758563d91 (diff)
parent1f1fff26790eb2ef998287a3519bbb2f7981d808 (diff)
downloadmonzero-core-b52620800100063ffac771e98101ae10fb5a3fbd.tar.gz
monzero-core-b52620800100063ffac771e98101ae10fb5a3fbd.tar.xz
monzero-core-b52620800100063ffac771e98101ae10fb5a3fbd.zip
Merge pull request #5868
1f1fff2 daemon: print mining algorithm in mining_status even when not mining (moneromooo-monero)
-rw-r--r--src/daemon/rpc_command_executor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp
index d4b9434da..014865730 100644
--- a/src/daemon/rpc_command_executor.cpp
+++ b/src/daemon/rpc_command_executor.cpp
@@ -578,9 +578,9 @@ bool t_rpc_command_executor::mining_status() {
tools::msg_writer() << "Mining at " << get_mining_speed(mres.speed) << " with " << mres.threads_count << " threads";
}
+ tools::msg_writer() << "PoW algorithm: " << mres.pow_algorithm;
if (mres.active || mres.is_background_mining_enabled)
{
- tools::msg_writer() << "PoW algorithm: " << mres.pow_algorithm;
tools::msg_writer() << "Mining address: " << mres.address;
}