[bitcoin/bitcoin] [wallet] couple of walletcreatefundedpsbt fixes (#13968)

1) Previously an empty input argument transaction that is marked for replaceability fails to pass the `SignalsOptInRBF` check right before funding it. Explicitly check for that condition before throwing an error.

2) The rpc call had two separate `replaceable` arguments, each of which being used in mutually exclusive places. Since we have named args I opted to prefer the top-level argument instead.
You can view, comment on, or merge this pull request online at:


— Commit Summary —

* Allow ConstructTransaction to not throw error with 0-input txn
* walletcreatefundedpsbt: replace duplicate replaceable arg

— File Changes —

M src/rpc/rawtransaction.cpp (2)
M src/wallet/rpcwallet.cpp (9)

— Patch Links —


Добавить комментарий