From 014cb3986b739525a94f4fcdc1a3cf6830e652f7 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Tue, 6 Oct 2020 09:50:47 +1100 Subject: [PATCH] Fix PeerConn conn status string --- peerconn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peerconn.go b/peerconn.go index a54f6fb5..4cbe40bb 100644 --- a/peerconn.go +++ b/peerconn.go @@ -138,7 +138,7 @@ type PeerConn struct { } func (cn *PeerConn) connStatusString() string { - return fmt.Sprintf("%+-55q %s %s\n", cn.PeerID, cn.PeerExtensionBytes, cn.connString) + return fmt.Sprintf("%+-55q %s %s", cn.PeerID, cn.PeerExtensionBytes, cn.connString) } func (cn *peer) updateExpectingChunks() {