diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-06-16 23:37:31 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-08-28 15:55:31 +0000 |
commit | 1f1fff26790eb2ef998287a3519bbb2f7981d808 (patch) | |
tree | 8e8f0bf44d2129a5da94b978d7e3b393cd2af15a /src/daemon/rpc_command_executor.cpp | |
parent | Merge pull request #5707 (diff) | |
download | monero-1f1fff26790eb2ef998287a3519bbb2f7981d808.tar.xz |
daemon: print mining algorithm in mining_status even when not mining
Diffstat (limited to 'src/daemon/rpc_command_executor.cpp')
-rw-r--r-- | src/daemon/rpc_command_executor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp index 4d3debed6..f7e353350 100644 --- a/src/daemon/rpc_command_executor.cpp +++ b/src/daemon/rpc_command_executor.cpp @@ -573,9 +573,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; } |