diff --git a/server.go b/server.go index edbc1c03..b9bb18d0 100644 --- a/server.go +++ b/server.go @@ -1221,7 +1221,7 @@ func (sp *serverPeer) OnGetAddr(_ *peer.Peer, msg *wire.MsgGetAddr) { // Do not accept getaddr requests from outbound peers. This reduces // fingerprinting attacks. if !sp.Inbound() { - peerLog.Debugf("Ignoring getaddr request from outbound peer ", + peerLog.Debugf("Ignoring getaddr request from outbound peer "+ "%v", sp) return } @@ -1229,7 +1229,7 @@ func (sp *serverPeer) OnGetAddr(_ *peer.Peer, msg *wire.MsgGetAddr) { // Only allow one getaddr request per connection to discourage // address stamping of inv announcements. if sp.sentAddrs { - peerLog.Debugf("Ignoring repeated getaddr request from peer ", + peerLog.Debugf("Ignoring repeated getaddr request from peer "+ "%v", sp) return }