mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 23:21:12 +02:00
itest: remove flakeFundExtraUTXO
This commit is contained in:
@@ -3,9 +3,7 @@ package itest
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/btcsuite/btcd/btcutil"
|
||||
"github.com/lightningnetwork/lnd/lntest"
|
||||
"github.com/lightningnetwork/lnd/lntest/node"
|
||||
)
|
||||
|
||||
// flakePreimageSettlement documents a flake found when testing the preimage
|
||||
@@ -34,19 +32,6 @@ func flakePreimageSettlement(ht *lntest.HarnessTest) {
|
||||
time.Sleep(2 * time.Second)
|
||||
}
|
||||
|
||||
// flakeFundExtraUTXO documents a flake found when testing the sweeping behavior
|
||||
// of the given node, which would fail due to no wallet UTXO available, while
|
||||
// there should be enough.
|
||||
//
|
||||
// TODO(yy): remove it once the issue is resolved.
|
||||
func flakeFundExtraUTXO(ht *lntest.HarnessTest, node *node.HarnessNode) {
|
||||
// The node should have enough wallet UTXOs here to sweep the HTLC in
|
||||
// the end of this test. However, due to a known issue, the node's
|
||||
// wallet may report there's no UTXO available. For details,
|
||||
// - https://github.com/lightningnetwork/lnd/issues/8786
|
||||
ht.FundCoins(btcutil.SatoshiPerBitcoin, node)
|
||||
}
|
||||
|
||||
// flakeTxNotifierNeutrino documents a flake found when running force close
|
||||
// tests using neutrino backend, which is a race between two notifications - one
|
||||
// for the spending notification, the other for the block which contains the
|
||||
|
Reference in New Issue
Block a user