discovery: continue in loop after processing announcement signatures

This commit is contained in:
Olaoluwa Osuntokun 2017-11-29 18:35:11 -08:00
parent 4ab16b5c91
commit c0b8c29382
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21
2 changed files with 2 additions and 1 deletions

@ -584,6 +584,7 @@ func (d *AuthenticatedGossiper) networkHandler() {
emittedAnnouncements...,
)
}
continue
}
// We'll set up any dependant, and wait until a free

@ -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)