diff options
author | Suhas Daftuar <sdaftuar@gmail.com> | 2020-12-16 14:06:48 -0500 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@gmail.com> | 2020-12-17 14:00:42 -0500 |
commit | 6d1e85f475a8af3ca0e094ed101dc19704e5ab74 (patch) | |
tree | 0d3020cbf4930334637e4a2a8ba79f30f9ee3fb3 | |
parent | b7136c11ab6448142cfcc617babe866e428eeeb4 (diff) |
Clean up logging of outbound connection type
-rw-r--r-- | src/net_processing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 17aa889ab0..06fffe5148 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -2476,7 +2476,7 @@ void PeerManager::ProcessMessage(CNode& pfrom, const std::string& msg_type, CDat LogPrintf("New outbound peer connected: version: %d, blocks=%d, peer=%d%s (%s)\n", pfrom.nVersion.load(), pfrom.nStartingHeight, pfrom.GetId(), (fLogIPs ? strprintf(", peeraddr=%s", pfrom.addr.ToString()) : ""), - pfrom.IsBlockOnlyConn() ? "block-relay" : "full-relay"); + pfrom.ConnectionTypeAsString()); } if (pfrom.GetCommonVersion() >= SENDHEADERS_VERSION) { |