@@ -679,8 +679,6 @@ func runMultiHopReceiverPreimageClaim(ht *lntest.HarnessTest,
679
679
alice , bob , carol := nodes [0 ], nodes [1 ], nodes [2 ]
680
680
bobChanPoint := chanPoints [1 ]
681
681
682
- ht .FundCoins (btcutil .SatoshiPerBitcoin , carol )
683
-
684
682
// For neutrino backend, we need to one more UTXO for Carol so she can
685
683
// sweep her outputs.
686
684
if ht .IsNeutrinoBackend () {
@@ -690,6 +688,14 @@ func runMultiHopReceiverPreimageClaim(ht *lntest.HarnessTest,
690
688
// Fund Carol one UTXO so she can sweep outputs.
691
689
ht .FundCoins (btcutil .SatoshiPerBitcoin , carol )
692
690
691
+ // Carol should have enough wallet UTXOs here to sweep the HTLC in the
692
+ // end of this test. However, due to a known issue, Carol's wallet may
693
+ // report there's no UTXO available. For details,
694
+ // - https://github.com/lightningnetwork/lnd/issues/8786
695
+ //
696
+ // TODO(yy): remove this step once the issue is resolved.
697
+ ht .FundCoins (btcutil .SatoshiPerBitcoin , carol )
698
+
693
699
// If this is a taproot channel, then we'll need to make some manual
694
700
// route hints so Alice can actually find a route.
695
701
var routeHints []* lnrpc.RouteHint
@@ -1633,6 +1639,22 @@ func runLocalClaimIncomingHTLC(ht *lntest.HarnessTest,
1633
1639
// Fund Carol one UTXO so she can sweep outputs.
1634
1640
ht .FundCoins (btcutil .SatoshiPerBitcoin , carol )
1635
1641
1642
+ // Carol should have enough wallet UTXOs here to sweep the HTLC in the
1643
+ // end of this test. However, due to a known issue, Carol's wallet may
1644
+ // report there's no UTXO available. For details,
1645
+ // - https://github.com/lightningnetwork/lnd/issues/8786
1646
+ //
1647
+ // TODO(yy): remove this step once the issue is resolved.
1648
+ ht .FundCoins (btcutil .SatoshiPerBitcoin , carol )
1649
+
1650
+ // Bob should have enough wallet UTXOs here to sweep the HTLC in the
1651
+ // end of this test. However, due to a known issue, Bob's wallet may
1652
+ // report there's no UTXO available. For details,
1653
+ // - https://github.com/lightningnetwork/lnd/issues/8786
1654
+ //
1655
+ // TODO(yy): remove this step once the issue is resolved.
1656
+ ht .FundCoins (btcutil .SatoshiPerBitcoin , bob )
1657
+
1636
1658
// If this is a taproot channel, then we'll need to make some manual
1637
1659
// route hints so Alice can actually find a route.
1638
1660
var routeHints []* lnrpc.RouteHint
@@ -2603,6 +2625,14 @@ func runLocalPreimageClaimLeased(ht *lntest.HarnessTest,
2603
2625
// Fund Carol one UTXO so she can sweep outputs.
2604
2626
ht .FundCoins (btcutil .SatoshiPerBitcoin , carol )
2605
2627
2628
+ // Carol should have enough wallet UTXOs here to sweep the HTLC in the
2629
+ // end of this test. However, due to a known issue, Carol's wallet may
2630
+ // report there's no UTXO available. For details,
2631
+ // - https://github.com/lightningnetwork/lnd/issues/8786
2632
+ //
2633
+ // TODO(yy): remove this step once the issue is resolved.
2634
+ ht .FundCoins (btcutil .SatoshiPerBitcoin , carol )
2635
+
2606
2636
// With the network active, we'll now add a new hodl invoice at Carol's
2607
2637
// end. Make sure the cltv expiry delta is large enough, otherwise Bob
2608
2638
// won't send out the outgoing htlc.
0 commit comments