mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-30 23:10:23 +02:00
discovery: continue in loop after processing announcement signatures
This commit is contained in:
parent
4ab16b5c91
commit
c0b8c29382
@ -584,6 +584,7 @@ func (d *AuthenticatedGossiper) networkHandler() {
|
|||||||
emittedAnnouncements...,
|
emittedAnnouncements...,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
// We'll set up any dependant, and wait until a free
|
// 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
|
// Pretending that we receive local channel announcement from funding
|
||||||
// manager, thereby kick off the announcement exchange process, in
|
// manager, thereby kick off the announcement exchange process, in
|
||||||
// this case the announcement should be added in the orphan batch
|
// 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)
|
err = <-ctx.gossiper.ProcessRemoteAnnouncement(batch.remoteProofAnn, remoteKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("unable to proceed announcement: %v", err)
|
t.Fatalf("unable to proceed announcement: %v", err)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user