discovery: continue in loop after processing announcement signatures

This commit is contained in:
Olaoluwa Osuntokun committed 2017-11-29 18:35:19 -08:00
1 parent 4ab16b5c91
commit c0b8c29382
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -584,6 +584,7 @@ func (d *AuthenticatedGossiper) networkHandler() {
emittedAnnouncements...,
)
}
continue
}
// We'll set up any dependant, and wait until a free
+1 -1
View File
@@ -757,7 +757,7 @@ func TestOrphanSignatureAnnouncement(t *testing.T) {
// Pretending that we receive local channel announcement from funding
// manager, thereby kick off the announcement exchange process, in
// this case the announcement should be added in the orphan batch
// because we haven't announce the channel yet.
// because we haven't announced the channel yet.
err = <-ctx.gossiper.ProcessRemoteAnnouncement(batch.remoteProofAnn, remoteKey)
if err != nil {
t.Fatalf("unable to proceed announcement: %v", err)