itest: fix misuse of MineBlocks and replace it with

`MineBlocksAndAssertNumTxes`
This commit is contained in:
yyforyongyu authored and yyforyongyu committed 2024-07-23 21:30:08 +08:00
1 parent f1f341095e
commit 8240a87c2b
8 files changed
+19 -11

No files matched your search

+1 -1
View File
@@ -601,7 +601,7 @@ func testAnchorThirdPartySpend(ht *lntest.HarnessTest) {
Index: 1,
}
ht.AssertOutpointInMempool(commitSweepOp)
ht.MineBlocks(1)
ht.MineBlocksAndAssertNumTxes(1, 1)
ht.AssertNumWaitingClose(alice, 0)
}