HomePhabricator

[backport#16377 1/2][rpc] walletcreatefundedpsbt: don't automatically append…

Description

[backport#16377 1/2][rpc] walletcreatefundedpsbt: don't automatically append inputs

Summary:
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.


Backport of Core PR16377 [1/2]

Test Plan:

ninja all check check-functional

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D8659

Details

Provenance
Sjors Provoost <sjors@sprovoost.nl>Authored on Jul 12 2019, 12:30
majcostaCommitted on Dec 11 2020, 17:25
majcostaPushed on Dec 11 2020, 17:25
Reviewer
Restricted Project
Differential Revision
D8659: [backport#16377 1/2][rpc] walletcreatefundedpsbt: don't automatically append inputs
Parents
rABC978bd5b48891: refactor: Use AbortError in FatalError
Branches
Unknown
Tags
Unknown