diff --git a/doc/release-notes.md b/doc/release-notes.md index 5d46a6914..b1aaa4a51 100644 --- a/doc/release-notes.md +++ b/doc/release-notes.md @@ -1,20 +1,23 @@ # Bitcoin ABC 0.22.9 Release Notes Bitcoin ABC version 0.22.9 is now available from: This release includes the following features and fixes: # Wallet The `-salvagewallet` startup option has been removed. A new `salvage` command has been added to the `bitcoin-wallet` tool which performs the salvage operations that `-salvagewallet` did. # RPC changes The `walletcreatefundedpsbt` RPC call will now fail with `Insufficient funds` when inputs are manually selected but are not enough to cover the outputs and fee. Additional inputs can automatically be added through the new `add_inputs` -option. \ No newline at end of file +option. + +The `fundrawtransaction` RPC now supports `add_inputs` option that when `false` +prevents adding more inputs if necessary and consequently the RPC fails. \ No newline at end of file diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 1550a392d..091aef6dc 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -1,5082 +1,5087 @@ // Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include #include // for GetConsensus. #include #include #include #include #include #include #include #include #include #include #include #include #include #include