itest: update num of sweeps in AssertNumPendingSweeps
Since we now return all sweeps, we need to update the call to include immature sweeps.
This commit is contained in:
8 files changed
+201
-91
No files matched your search
@@ -309,8 +309,9 @@ func testHtlcTimeoutResolverExtractPreimageLocal(ht *lntest.HarnessTest) {
|
||||
|
||||
// Once Bob's force closing tx is confirmed, he will re-offer the
|
||||
// anchor output to his sweeper, which won't be swept due to it being
|
||||
// uneconomical.
|
||||
ht.AssertNumPendingSweeps(bob, 1)
|
||||
// uneconomical. In addition, the to_local output should also be found
|
||||
// although it's immature.
|
||||
ht.AssertNumPendingSweeps(bob, 2)
|
||||
|
||||
// Mine 3 blocks so the output will be offered to the sweeper.
|
||||
ht.MineBlocks(defaultCSV - 1)
|
||||
|
||||
Reference in new issue
Block a user