mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-23 14:40:30 +01:00
discovery: fix logging for gossip syncer rate limiting
This commit is contained in:
parent
9c92d60149
commit
c5979c7d80
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue