From 7757721a92b9dd7fda26828f466772b6dc7fd65c Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 29 Nov 2017 17:52:39 -0800 Subject: [PATCH] routing: don't dispatch notification if error is non nil after processing ann --- routing/router.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/routing/router.go b/routing/router.go index 3db9f083d..3ca3e3012 100644 --- a/routing/router.go +++ b/routing/router.go @@ -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{}