mirror of
https://github.com/monero-project/monero.git
synced 2025-07-28 13:44:12 -04:00
Consistently print peer id in hex and on 16 chars
This commit is contained in:
parent
9e6bcbc014
commit
42b34b3545
2 changed files with 13 additions and 6 deletions
|
@ -203,7 +203,7 @@ namespace cryptonote
|
|||
}
|
||||
|
||||
std::stringstream peer_id_str;
|
||||
peer_id_str << std::hex << peer_id;
|
||||
peer_id_str << std::hex << std::setw(16) << peer_id;
|
||||
peer_id_str >> cnx.peer_id;
|
||||
|
||||
cnx.support_flags = support_flags;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue