itest+lntest: fix itest re the new block driven behavior

This commit is contained in:
yyforyongyu committed 2024-04-19 21:33:26 +08:00
1 parent 558d9bd3ce
commit 521b1fc34a
10 files changed
+445 -108

No files matched your search

+6
View File
@@ -114,6 +114,12 @@ func testWipeForwardingPackages(ht *lntest.HarnessTest) {
pendingAB = pending.Channel
require.Zero(ht, pendingAB.NumForwardingPackages)
// Alice should one pending sweep.
ht.AssertNumPendingSweeps(alice, 1)
// Mine a block to trigger the sweep.
ht.MineBlocks(1)
// Mine 1 block to get Alice's sweeping tx confirmed.
ht.MineBlocksAndAssertNumTxes(1, 1)