Skip to content

Commit 6d1e85f

Browse files
committed
Clean up logging of outbound connection type
1 parent b7136c1 commit 6d1e85f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net_processing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2476,7 +2476,7 @@ void PeerManager::ProcessMessage(CNode& pfrom, const std::string& msg_type, CDat
24762476
LogPrintf("New outbound peer connected: version: %d, blocks=%d, peer=%d%s (%s)\n",
24772477
pfrom.nVersion.load(), pfrom.nStartingHeight,
24782478
pfrom.GetId(), (fLogIPs ? strprintf(", peeraddr=%s", pfrom.addr.ToString()) : ""),
2479-
pfrom.IsBlockOnlyConn() ? "block-relay" : "full-relay");
2479+
pfrom.ConnectionTypeAsString());
24802480
}
24812481

24822482
if (pfrom.GetCommonVersion() >= SENDHEADERS_VERSION) {

0 commit comments

Comments
 (0)