diff options
author | Ricardo de Vries <ricardo@43.nl> | 2018-10-18 10:45:42 +0200 |
---|---|---|
committer | Ricardo de Vries <ricardo@43.nl> | 2018-10-18 10:45:42 +0200 |
commit | e54e5668a85fc5139077351e0035ef1318f2ef7f (patch) | |
tree | b7958fca49897ce06c16a8d66fbc54c0c1724dc1 | |
parent | Merge pull request #4610 (diff) | |
download | monero-e54e5668a85fc5139077351e0035ef1318f2ef7f.tar.xz |
daemon: Show mining address
-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 6464d372f..9a0603a10 100644 --- a/src/daemon/rpc_command_executor.cpp +++ b/src/daemon/rpc_command_executor.cpp @@ -449,7 +449,7 @@ bool t_rpc_command_executor::show_status() { % get_sync_percentage(ires) % (ires.testnet ? "testnet" : ires.stagenet ? "stagenet" : "mainnet") % bootstrap_msg - % (!has_mining_info ? "mining info unavailable" : mining_busy ? "syncing" : mres.active ? ( ( mres.is_background_mining_enabled ? "smart " : "" ) + std::string("mining at ") + get_mining_speed(mres.speed) ) : "not mining") + % (!has_mining_info ? "mining info unavailable" : mining_busy ? "syncing" : mres.active ? ( ( mres.is_background_mining_enabled ? "smart " : "" ) + std::string("mining at ") + get_mining_speed(mres.speed) + std::string(" to ") + mres.address ) : "not mining") % get_mining_speed(ires.difficulty / ires.target) % (unsigned)hfres.version % get_fork_extra_info(hfres.earliest_height, net_height, ires.target) |