discovery/gossiper: channel announcements can't be outdated

This commit is contained in:
Conner Fromknecht 2020-11-24 16:38:14 -08:00
parent 7f9f4a7c8d
commit fb9218d100
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

@ -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)