itest: remove extra UTXO used in sweeping tests
Given #8786 is now fixed, we no longer need extra UTXOs in these tests.
This commit is contained in:
1 file changed
-16
@@ -766,14 +766,6 @@ func testSweepHTLCs(ht *lntest.HarnessTest) {
|
|||||||
// - when sweeping HTLCs, he needs one utxo for each sweep.
|
// - when sweeping HTLCs, he needs one utxo for each sweep.
|
||||||
numUTXOs := 2
|
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
|
// For neutrino backend, we need two more UTXOs for Bob to create his
|
||||||
// sweeping txns.
|
// sweeping txns.
|
||||||
if ht.IsNeutrinoBackend() {
|
if ht.IsNeutrinoBackend() {
|
||||||
@@ -1802,14 +1794,6 @@ func testFeeReplacement(ht *lntest.HarnessTest) {
|
|||||||
// - when sweeping HTLCs, he needs one utxo for each sweep.
|
// - when sweeping HTLCs, he needs one utxo for each sweep.
|
||||||
numUTXOs := 2
|
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
|
// For neutrino backend, we need two more UTXOs for Bob to create his
|
||||||
// sweeping txns.
|
// sweeping txns.
|
||||||
if ht.IsNeutrinoBackend() {
|
if ht.IsNeutrinoBackend() {
|
||||||
|
|||||||
Reference in new issue
Block a user