routing: don't dispatch notification if error is non nil after processing ann
This commit is contained in:
parent
3067d05ae8
commit
7757721a92
@ -531,6 +531,10 @@ func (r *ChannelRouter) networkHandler() {
|
|||||||
// we can now signal them to continue.
|
// we can now signal them to continue.
|
||||||
validationBarrier.SignalDependants(updateMsg.msg)
|
validationBarrier.SignalDependants(updateMsg.msg)
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
// Send off a new notification for the newly
|
// Send off a new notification for the newly
|
||||||
// accepted update.
|
// accepted update.
|
||||||
topChange := &TopologyChange{}
|
topChange := &TopologyChange{}
|
||||||
|
Loading…
Reference in New Issue
Block a user