mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-20 08:26:15 -03:00
79804fe24b
When the user doesn't specificy inputs, it makes sense to automatically select them. But when the user does specify inputs, we now fail if the amount is insufficient, unless addInputs is set to true.
275 B
275 B
RPC changes
- The
walletcreatefundedpsbt
RPC call will now fail withInsufficient funds
when inputs are manually selected but are not enough to cover the outputs and fee. Additional inputs can automatically be added through the newadd_inputs
option.