Skip to content

Commit 66b3501

Browse files
committed
itest: fix flake in testRevokedCloseRetributionZeroValueRemoteOutput
We need to mine an empty block as the tx may already have entered the mempool. This should be fixed once we start using the sweeper to handle the justice tx.
1 parent c071626 commit 66b3501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

itest/lnd_revocation_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ func revokedCloseRetributionRemoteHodlCase(ht *lntest.HarnessTest,
612612
// transactions will be in the mempool at this point, we pass 0
613613
// as the last argument, indicating we don't care what's in the
614614
// mempool.
615-
ht.MineBlocks(1)
615+
ht.MineEmptyBlocks(1)
616616
err = wait.NoError(func() error {
617617
txid, err := findJusticeTx()
618618
if err != nil {

0 commit comments

Comments
 (0)