discovery: continue in loop after processing announcement signatures
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user