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:
2 files changed
+8
-9
No files matched your search
@@ -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