daemon: display peer address type in print_cn

This commit is contained in:
moneromooo-monero 2019-05-31 09:09:24 +00:00
parent 5fbfa8a656
commit 2aa11341fc
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
4 changed files with 21 additions and 0 deletions

View file

@ -285,6 +285,7 @@ namespace cryptonote
cnx.height = cntxt.m_remote_blockchain_height;
cnx.pruning_seed = cntxt.m_pruning_seed;
cnx.address_type = (uint8_t)cntxt.m_remote_address.get_type_id();
connections.push_back(cnx);