mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
itest: add an extra utxo when using neutrino
This commit is contained in:
parent
24e654ffc4
commit
fda66f6a43
@ -81,6 +81,13 @@ func testCommitmentTransactionDeadline(net *lntest.NetworkHarness,
|
||||
|
||||
// Send some coins to the 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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user