File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
eclair-core/src/test/scala/fr/acinq/eclair/integration Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -594,6 +594,8 @@ class StandardChannelIntegrationSpec extends ChannelIntegrationSpec {
594594 val closingTx = sender.expectMsgType[Transaction ]
595595 assert(closingTx.txOut.map(_.publicKeyScript).toSet == Set (finalPubKeyScriptC, finalPubKeyScriptF))
596596
597+ // generate enough blocks so the router will know the channel has been closed and not spliced
598+ generateBlocks(12 )
597599 awaitAnnouncements(1 )
598600 }
599601
@@ -645,6 +647,9 @@ class StandardChannelIntegrationSpec extends ChannelIntegrationSpec {
645647 generateBlocks(2 )
646648 // and we wait for C's channel to close
647649 awaitCond(stateListenerC.expectMsgType[ChannelStateChanged ](max = 60 seconds).currentState == CLOSED , max = 60 seconds)
650+
651+ // generate enough blocks so the router will know the channel has been closed and not spliced
652+ generateBlocks(12 )
648653 awaitAnnouncements(1 )
649654 }
650655
You can’t perform that action at this time.
0 commit comments