discovery+server: add more trace log

This commit is contained in:
yyforyongyu
2023-03-08 21:02:53 +08:00
parent ca3debf351
commit f22b25a1bf
3 changed files with 5 additions and 2 deletions

View File

@@ -1251,6 +1251,8 @@ func (g *GossipSyncer) FilterGossipMsgs(msgs ...msgWithSenders) {
// If the peer doesn't have an update horizon set, then we won't send
// it any new update messages.
if g.remoteUpdateHorizon == nil {
log.Tracef("GossipSyncer(%x): skipped due to nil "+
"remoteUpdateHorizon", g.cfg.peerPub[:])
return
}