itest: add an extra utxo when using neutrino
This commit is contained in:
1 file changed
+7
@@ -81,6 +81,13 @@ func testCommitmentTransactionDeadline(net *lntest.NetworkHarness,
|
|||||||
|
|
||||||
// Send some coins to the node.
|
// Send some coins to the node.
|
||||||
net.SendCoins(ctx, t.t, btcutil.SatoshiPerBitcoin, node)
|
net.SendCoins(ctx, t.t, btcutil.SatoshiPerBitcoin, node)
|
||||||
|
|
||||||
|
// For neutrino backend, we need one additional UTXO to create
|
||||||
|
// the sweeping tx for the remote anchor.
|
||||||
|
if net.BackendCfg.Name() == lntest.NeutrinoBackendName {
|
||||||
|
net.SendCoins(ctx, t.t, btcutil.SatoshiPerBitcoin, node)
|
||||||
|
}
|
||||||
|
|
||||||
return node
|
return node
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user