From 7e40ab05ac2850ef3179f4589b276e9bb8c7b66a Mon Sep 17 00:00:00 2001 From: Matheus Degiovani Date: Wed, 15 Nov 2023 07:30:23 -0300 Subject: [PATCH] discovery: Lower ignored ChannelUpdate log to debug User doesn't have to do anything about this, so logging at debug level is fine. --- discovery/gossiper.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/discovery/gossiper.go b/discovery/gossiper.go index afd675428d..97e8548b77 100644 --- a/discovery/gossiper.go +++ b/discovery/gossiper.go @@ -559,13 +559,14 @@ func (d *AuthenticatedGossiper) ProcessRemoteAnnouncement(msg lnwire.Message, // from the remote. case *lnwire.ChannelAnnouncement: ownKey := d.selfKey.SerializeCompressed() - ownErr := fmt.Errorf("ignoring remote ChannelAnnouncement " + - "for own channel") + ownErr := fmt.Errorf("ignoring remote ChannelAnnouncement "+ + "for own channel %s received from %v", m.ShortChannelID, + peer) if bytes.Equal(m.NodeID1[:], ownKey) || bytes.Equal(m.NodeID2[:], ownKey) { - log.Warn(ownErr) + log.Debug(ownErr) errChan <- ownErr return errChan }