Fix PeerConn conn status string

This commit is contained in:
Matt Joiner 2020-10-06 09:50:47 +11:00
parent 14f2e8087e
commit 014cb3986b
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ type PeerConn struct {
} }
func (cn *PeerConn) connStatusString() string { 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() { func (cn *peer) updateExpectingChunks() {