mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-21 14:10:35 +02:00
rpcserver: allow unconf. inputs for psbt shim.
Allow unconfirmed inputs to be used when funding a channel via the psbt channel opening flow. We do now check for unstable utxos.
This commit is contained in:
@@ -1574,12 +1574,12 @@ func (w *WalletKit) fundPsbtInternalWallet(account string,
|
||||
return true
|
||||
}
|
||||
|
||||
eligible := fn.Filter(filterFn, utxos)
|
||||
eligibleUtxos := fn.Filter(filterFn, utxos)
|
||||
|
||||
// Validate all inputs against our known list of UTXOs
|
||||
// now.
|
||||
err = verifyInputsUnspent(
|
||||
packet.UnsignedTx.TxIn, eligible,
|
||||
packet.UnsignedTx.TxIn, eligibleUtxos,
|
||||
)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user