routing: don't dispatch notification if error is non nil after processing ann

This commit is contained in:
Olaoluwa Osuntokun 2017-11-29 17:52:39 -08:00
parent 3067d05ae8
commit 7757721a92
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

View File

@ -531,6 +531,10 @@ func (r *ChannelRouter) networkHandler() {
// we can now signal them to continue.
validationBarrier.SignalDependants(updateMsg.msg)
if err != nil {
return
}
// Send off a new notification for the newly
// accepted update.
topChange := &TopologyChange{}