aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@gmail.com>2020-12-16 14:06:48 -0500
committerSuhas Daftuar <sdaftuar@gmail.com>2020-12-17 14:00:42 -0500
commit6d1e85f475a8af3ca0e094ed101dc19704e5ab74 (patch)
tree0d3020cbf4930334637e4a2a8ba79f30f9ee3fb3
parentb7136c11ab6448142cfcc617babe866e428eeeb4 (diff)
Clean up logging of outbound connection type
-rw-r--r--src/net_processing.cpp2
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) {