discovery: fix logging for gossip syncer rate limiting

This commit is contained in:
Olaoluwa Osuntokun 2018-09-13 15:55:39 -07:00
parent 9c92d60149
commit c5979c7d80
No known key found for this signature in database
GPG key ID: CE58F7F8E20FD9A2

View file

@ -648,7 +648,7 @@ func (g *gossipSyncer) replyPeerQueries(msg lnwire.Message) error {
// responses back to the remote peer. This can help prevent DOS attacks // responses back to the remote peer. This can help prevent DOS attacks
// where the remote peer spams us endlessly. // where the remote peer spams us endlessly.
if delay > 0 { if delay > 0 {
log.Infof("gossipSyncer(%x): rate limiting gossip replies, ", log.Infof("gossipSyncer(%x): rate limiting gossip replies, "+
"responding in %s", g.peerPub[:], delay) "responding in %s", g.peerPub[:], delay)
select { select {