itest: further reduce block mined in tests

This commit is contained in:
yyforyongyu committed 2024-12-20 19:38:12 +08:00
1 parent 6f2e7feb94
commit e79ad6e5aa
5 files changed
+30 -51

No files matched your search

-1
View File
@@ -1499,7 +1499,6 @@ func assertTimeLockSwept(ht *lntest.HarnessTest, carol, dave *node.HarnessNode,
ht.AssertNumPendingSweeps(dave, 2)
// Mine a block to trigger the sweeps.
ht.MineEmptyBlocks(1)
daveSweep := ht.AssertNumTxsInMempool(1)[0]
block := ht.MineBlocksAndAssertNumTxes(1, 1)[0]
ht.AssertTxInBlock(block, daveSweep)