aboutsummaryrefslogtreecommitdiff
path: root/src/daemon
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-08-13 15:59:30 +0200
committerRiccardo Spagni <ric@spagni.net>2017-08-13 15:59:30 +0200
commit70495665f95cd453f2fc89d2ec5f7c2643e79f14 (patch)
tree653a9b70c681221108414a0a9243eab8b19f204f /src/daemon
parentMerge pull request #2271 (diff)
parentdaemon: print peers' top height in sync_info (diff)
downloadmonero-70495665f95cd453f2fc89d2ec5f7c2643e79f14.tar.xz
Merge pull request #2284
2ec15a69 daemon: print peers' top height in sync_info (moneromooo-monero) 08abb670 protocol: fix reorgs while syncing (moneromooo-monero)
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/rpc_command_executor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp
index 34d87d282..995fee484 100644
--- a/src/daemon/rpc_command_executor.cpp
+++ b/src/daemon/rpc_command_executor.cpp
@@ -1742,7 +1742,7 @@ bool t_rpc_command_executor::sync_info()
for (const auto &s: res.spans)
if (s.rate > 0.0f && s.connection_id == p.info.connection_id)
nblocks += s.nblocks, size += s.size;
- tools::success_msg_writer() << address << " " << p.info.peer_id << " " << p.info.current_download << " kB/s, " << nblocks << " blocks / " << size/1e6 << " MB queued";
+ tools::success_msg_writer() << address << " " << p.info.peer_id << " " << p.info.height << " " << p.info.current_download << " kB/s, " << nblocks << " blocks / " << size/1e6 << " MB queued";
}
uint64_t total_size = 0;