itest: fix flake in testSendDirectPayment
This bug was hidden because we used standby nodes before, which always have more-than-necessary wallet utxos.
This commit is contained in:
1 file changed
+6
@@ -449,6 +449,12 @@ func testSendDirectPayment(ht *lntest.HarnessTest) {
|
|||||||
// Make sure they are connected.
|
// Make sure they are connected.
|
||||||
st.EnsureConnected(alice, bob)
|
st.EnsureConnected(alice, bob)
|
||||||
|
|
||||||
|
// There's a bug that causes the funding to be failed
|
||||||
|
// due to the `ListCoins` cannot find the utxos.
|
||||||
|
//
|
||||||
|
// TODO(yy): remove this line to fix the ListCoins bug.
|
||||||
|
st.FundCoins(btcutil.SatoshiPerBitcoin, alice)
|
||||||
|
|
||||||
// Open a channel with 100k satoshis between Alice and
|
// Open a channel with 100k satoshis between Alice and
|
||||||
// Bob with Alice being the sole funder of the channel.
|
// Bob with Alice being the sole funder of the channel.
|
||||||
params := lntest.OpenChannelParams{
|
params := lntest.OpenChannelParams{
|
||||||
|
|||||||
Reference in new issue
Block a user