server: Fix incorrect log message format
This commit is contained in:
parent
1d0bfca5b0
commit
9e94ccbd0e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue