diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-06-18 21:16:25 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-10-29 11:30:20 +0000 |
commit | deb350b7836c6b62a097b4231143c630ac731075 (patch) | |
tree | 90d1c06a55c9f5d9807b274f52798ee68dda888f /src/p2p/p2p_protocol_defs.h | |
parent | Merge pull request #6044 (diff) | |
download | monero-deb350b7836c6b62a097b4231143c630ac731075.tar.xz |
always print peer IDs in the same format
Diffstat (limited to '')
-rw-r--r-- | src/p2p/p2p_protocol_defs.h | 2 |
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 |