discovery/gossiper: channel announcements can't be outdated
This commit is contained in:
parent
7f9f4a7c8d
commit
fb9218d100
@ -1684,9 +1684,7 @@ func (d *AuthenticatedGossiper) processNetworkAnnouncement(
|
|||||||
// If the edge was rejected due to already being known,
|
// If the edge was rejected due to already being known,
|
||||||
// then it may be that case that this new message has a
|
// then it may be that case that this new message has a
|
||||||
// fresh channel proof, so we'll check.
|
// fresh channel proof, so we'll check.
|
||||||
if routing.IsError(err, routing.ErrOutdated,
|
if routing.IsError(err, routing.ErrIgnored) {
|
||||||
routing.ErrIgnored) {
|
|
||||||
|
|
||||||
// Attempt to process the rejected message to
|
// Attempt to process the rejected message to
|
||||||
// see if we get any new announcements.
|
// see if we get any new announcements.
|
||||||
anns, rErr := d.processRejectedEdge(msg, proof)
|
anns, rErr := d.processRejectedEdge(msg, proof)
|
||||||
|
Loading…
Reference in New Issue
Block a user