aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/p2p_protocol_defs.h
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-02-06 00:28:47 -0800
committerAlexander Blair <snipa@jagtech.io>2020-02-06 00:28:47 -0800
commit34d7ea62f67e22b3da41024f226d2aa70931109e (patch)
tree092c1ee52fab198c221ac18069410d5f09133aa5 /src/p2p/p2p_protocol_defs.h
parentMerge pull request #6050 (diff)
parentalways print peer IDs in the same format (diff)
downloadmonero-34d7ea62f67e22b3da41024f226d2aa70931109e.tar.xz
Merge pull request #6053
deb350b7 always print peer IDs in the same format (moneromooo-monero)
Diffstat (limited to 'src/p2p/p2p_protocol_defs.h')
-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