diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-11-24 23:04:01 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-11-24 23:04:04 +0200 |
commit | 64d738477976b9bcdcf34312b97b16d4657ce85c (patch) | |
tree | a310b2f15a5a1a35d4823a1ae9c1b62719bc0345 /src | |
parent | Merge pull request #499 (diff) | |
parent | daemon: fix blockchain height display not updating after sync (diff) | |
download | monero-64d738477976b9bcdcf34312b97b16d4657ce85c.tar.xz |
Merge pull request #500
06c8b94 daemon: fix blockchain height display not updating after sync (moneromooo-monero)
Diffstat (limited to 'src')
-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 a28b4290d..176df81fc 100644 --- a/src/daemon/rpc_command_executor.cpp +++ b/src/daemon/rpc_command_executor.cpp @@ -283,7 +283,7 @@ bool t_rpc_command_executor::show_status() { tools::success_msg_writer() << boost::format("Height: %llu/%llu (%.1f%%) on %s, net hash %s, v%u, %s, %u+%u connections") % (unsigned long long)ires.height - % (unsigned long long)(ires.target_height ? ires.target_height : ires.height) + % (unsigned long long)(ires.target_height >= ires.height ? ires.target_height : ires.height) % (100.0f * ires.height / (ires.target_height ? ires.target_height < ires.height ? ires.height : ires.target_height : ires.height)) % (ires.testnet ? "testnet" : "mainnet") % [&ires]()->std::string { |