mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 16:27:39 +00:00
daemon: print mining algorithm in mining_status even when not mining
This commit is contained in:
parent
85014813cf
commit
1f1fff2679
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue