File tree 1 file changed +2
-1
lines changed
eclair-core/src/test/scala/fr/acinq/eclair/integration
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -733,9 +733,10 @@ class AnchorOutputChannelIntegrationSpec extends ChannelIntegrationSpec {
733
733
734
734
// bury the unilateral close in a block, C should claim its main output
735
735
generateBlocks(2 )
736
+ val mainOutputC = OutPoint (commitTx, commitTx.txOut.indexWhere(_.publicKeyScript == toRemoteOutC.publicKeyScript))
736
737
awaitCond({
737
738
bitcoinClient.getMempool().pipeTo(sender.ref)
738
- sender.expectMsgType[Seq [Transaction ]].exists(_.txIn.head.outPoint.txid === commitTx.txid )
739
+ sender.expectMsgType[Seq [Transaction ]].exists(_.txIn.head.outPoint === mainOutputC )
739
740
}, max = 20 seconds, interval = 1 second)
740
741
741
742
// get the claim-remote-output confirmed, then the channel can go to the CLOSED state
You can’t perform that action at this time.
0 commit comments