itests: add itest for ListSweeps's start_height

This commit is contained in:
Andras Banki-Horvath committed 2024-02-01 21:02:25 +01:00
1 parent 7725a57055
commit 187e61da23
5 files changed
+112 -6

No files matched your search

+2 -2
View File
@@ -661,7 +661,7 @@ func channelForceClosureTest(ht *lntest.HarnessTest,
// Check that we can find the commitment sweep in our set of known
// sweeps, using the simple transaction id ListSweeps output.
ht.AssertSweepFound(alice, sweepingTXID.String(), false)
ht.AssertSweepFound(alice, sweepingTXID.String(), false, 0)
// Restart Alice to ensure that she resumes watching the finalized
// commitment sweep txid.
@@ -989,7 +989,7 @@ func channelForceClosureTest(ht *lntest.HarnessTest,
// Check that we can find the htlc sweep in our set of sweeps using
// the verbose output of the listsweeps output.
ht.AssertSweepFound(alice, htlcSweepTx.Hash().String(), true)
ht.AssertSweepFound(alice, htlcSweepTx.Hash().String(), true, 0)
// The following restart checks to ensure that the nursery store is
// storing the txid of the previously broadcast htlc sweep txn, and that