Skip to content

Commit 2c73a3f

Browse files
committed
itest: remove extra UTXO used in sweeping tests
Given #8786 is now fixed, we no longer need extra UTXOs in these tests.
1 parent 09df589 commit 2c73a3f

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

itest/lnd_sweep_test.go

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -766,14 +766,6 @@ func testSweepHTLCs(ht *lntest.HarnessTest) {
766766
// - when sweeping HTLCs, he needs one utxo for each sweep.
767767
numUTXOs := 2
768768

769-
// Bob should have enough wallet UTXOs here to sweep the HTLC in the
770-
// end of this test. However, due to a known issue, Bob's wallet may
771-
// report there's no UTXO available. For details,
772-
// - https://github.com/lightningnetwork/lnd/issues/8786
773-
//
774-
// TODO(yy): remove this extra UTXO once the issue is resolved.
775-
numUTXOs++
776-
777769
// For neutrino backend, we need two more UTXOs for Bob to create his
778770
// sweeping txns.
779771
if ht.IsNeutrinoBackend() {
@@ -1802,14 +1794,6 @@ func testFeeReplacement(ht *lntest.HarnessTest) {
18021794
// - when sweeping HTLCs, he needs one utxo for each sweep.
18031795
numUTXOs := 2
18041796

1805-
// Bob should have enough wallet UTXOs here to sweep the HTLC in the
1806-
// end of this test. However, due to a known issue, Bob's wallet may
1807-
// report there's no UTXO available. For details,
1808-
// - https://github.com/lightningnetwork/lnd/issues/8786
1809-
//
1810-
// TODO(yy): remove this extra UTXO once the issue is resolved.
1811-
numUTXOs++
1812-
18131797
// For neutrino backend, we need two more UTXOs for Bob to create his
18141798
// sweeping txns.
18151799
if ht.IsNeutrinoBackend() {

0 commit comments

Comments
 (0)