aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-07-08 17:15:19 -0500
committerluigi1111 <luigi1111w@gmail.com>2020-07-08 17:15:19 -0500
commit81c258635852b3ce9ea19be709cf4f2d5ca1e617 (patch)
treee040223bb96e483fecdc63cfecf71a50b8995067 /src
parentMerge pull request #6587 (diff)
parentdaemon: remove time based "update needed" status string (diff)
downloadmonero-81c258635852b3ce9ea19be709cf4f2d5ca1e617.tar.xz
Merge pull request #6588
bcef52d daemon: remove time based 'update needed' status string (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r--src/daemon/rpc_command_executor.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp
index 034d49918..859cfc92a 100644
--- a/src/daemon/rpc_command_executor.cpp
+++ b/src/daemon/rpc_command_executor.cpp
@@ -511,7 +511,7 @@ bool t_rpc_command_executor::show_status() {
}
std::stringstream str;
- str << boost::format("Height: %llu/%llu (%.1f%%) on %s%s, %s, net hash %s, v%u%s, %s, %u(out)+%u(in) connections")
+ str << boost::format("Height: %llu/%llu (%.1f%%) on %s%s, %s, net hash %s, v%u%s, %u(out)+%u(in) connections")
% (unsigned long long)ires.height
% (unsigned long long)net_height
% get_sync_percentage(ires)
@@ -521,7 +521,6 @@ bool t_rpc_command_executor::show_status() {
% get_mining_speed(cryptonote::difficulty_type(ires.wide_difficulty) / ires.target)
% (unsigned)hfres.version
% get_fork_extra_info(hfres.earliest_height, net_height, ires.target)
- % (hfres.state == cryptonote::HardFork::Ready ? "up to date" : hfres.state == cryptonote::HardFork::UpdateNeeded ? "update needed" : "out of date, likely forked")
% (unsigned)ires.outgoing_connections_count
% (unsigned)ires.incoming_connections_count
;