From fb9218d10062873b7c921f53d8e9d180b0e7f748 Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Tue, 24 Nov 2020 16:38:14 -0800 Subject: [PATCH] discovery/gossiper: channel announcements can't be outdated --- discovery/gossiper.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/discovery/gossiper.go b/discovery/gossiper.go index a72ddcd7..6bbdce30 100644 --- a/discovery/gossiper.go +++ b/discovery/gossiper.go @@ -1684,9 +1684,7 @@ func (d *AuthenticatedGossiper) processNetworkAnnouncement( // If the edge was rejected due to already being known, // then it may be that case that this new message has a // fresh channel proof, so we'll check. - if routing.IsError(err, routing.ErrOutdated, - routing.ErrIgnored) { - + if routing.IsError(err, routing.ErrIgnored) { // Attempt to process the rejected message to // see if we get any new announcements. anns, rErr := d.processRejectedEdge(msg, proof)