From 2842f933bb32cf3e9e8901dae4b12d19db4e098c Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Tue, 15 May 2018 20:06:16 -0700 Subject: [PATCH] server: fix linter error --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index 3d381fb2..4faa2116 100644 --- a/server.go +++ b/server.go @@ -902,7 +902,7 @@ func (sp *serverPeer) OnAddr(_ *peer.Peer, msg *wire.MsgAddr) { // A message that has no addresses is invalid. if len(msg.AddrList) == 0 { peerLog.Errorf("Command [%s] from %s does not contain any addresses", - msg.Command(), sp) + msg.Command(), sp.Peer) sp.Disconnect() return }