From 2c73a3fa7c2914a10253cdc1d6d47bf9e749fbb6 Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Mon, 23 Jun 2025 18:32:21 +0800 Subject: [PATCH] itest: remove extra UTXO used in sweeping tests Given #8786 is now fixed, we no longer need extra UTXOs in these tests. --- itest/lnd_sweep_test.go | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/itest/lnd_sweep_test.go b/itest/lnd_sweep_test.go index 7d2c1156f..01bff9ef5 100644 --- a/itest/lnd_sweep_test.go +++ b/itest/lnd_sweep_test.go @@ -766,14 +766,6 @@ func testSweepHTLCs(ht *lntest.HarnessTest) { // - when sweeping HTLCs, he needs one utxo for each sweep. numUTXOs := 2 - // Bob should have enough wallet UTXOs here to sweep the HTLC in the - // end of this test. However, due to a known issue, Bob's wallet may - // report there's no UTXO available. For details, - // - https://github.com/lightningnetwork/lnd/issues/8786 - // - // TODO(yy): remove this extra UTXO once the issue is resolved. - numUTXOs++ - // For neutrino backend, we need two more UTXOs for Bob to create his // sweeping txns. if ht.IsNeutrinoBackend() { @@ -1802,14 +1794,6 @@ func testFeeReplacement(ht *lntest.HarnessTest) { // - when sweeping HTLCs, he needs one utxo for each sweep. numUTXOs := 2 - // Bob should have enough wallet UTXOs here to sweep the HTLC in the - // end of this test. However, due to a known issue, Bob's wallet may - // report there's no UTXO available. For details, - // - https://github.com/lightningnetwork/lnd/issues/8786 - // - // TODO(yy): remove this extra UTXO once the issue is resolved. - numUTXOs++ - // For neutrino backend, we need two more UTXOs for Bob to create his // sweeping txns. if ht.IsNeutrinoBackend() {