aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/p2p_protocol_defs.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-06-18 21:16:25 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-10-29 11:30:20 +0000
commitdeb350b7836c6b62a097b4231143c630ac731075 (patch)
tree90d1c06a55c9f5d9807b274f52798ee68dda888f /src/p2p/p2p_protocol_defs.h
parentMerge pull request #6044 (diff)
downloadmonero-deb350b7836c6b62a097b4231143c630ac731075.tar.xz
always print peer IDs in the same format
Diffstat (limited to '')
-rw-r--r--src/p2p/p2p_protocol_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p2p/p2p_protocol_defs.h b/src/p2p/p2p_protocol_defs.h
index 44b278589..393bddd05 100644
--- a/src/p2p/p2p_protocol_defs.h
+++ b/src/p2p/p2p_protocol_defs.h
@@ -132,7 +132,7 @@ namespace nodetool
ss << std::setfill ('0') << std::setw (8) << std::hex << std::noshowbase;
for(const peerlist_entry& pe: pl)
{
- ss << pe.id << "\t" << pe.adr.str()
+ ss << peerid_to_string(pe.id) << "\t" << pe.adr.str()
<< " \trpc port " << (pe.rpc_port > 0 ? std::to_string(pe.rpc_port) : "-")
<< " \trpc credits per hash " << (pe.rpc_credits_per_hash > 0 ? std::to_string(pe.rpc_credits_per_hash) : "-")
<< " \tpruning seed " << pe.pruning_seed