aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2018-08-28 23:01:42 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2018-08-28 23:11:15 +0200
commit5de338ec725435228fa837849252c2ad3e68a19f (patch)
tree407cca54878c45f2ca329061c437318d0bc9891a /src
parent8e9f85141506870e691ab66d6b37ff94d902ff69 (diff)
parent61fe653bd919cb0533b2b9d6259bc86a4b2975c0 (diff)
downloadbitcoin-5de338ec725435228fa837849252c2ad3e68a19f.tar.xz
Merge #14055: fix walletcreatefundedpsbt deriv paths, add test
61fe653bd919cb0533b2b9d6259bc86a4b2975c0 fix walletcreatefundedpsbt deriv paths, add test (Gregory Sanders) Pull request description: Added the regression in #13968 Tree-SHA512: a31290b57ed80a8486925e562ca5412500d4215a238de7e448f48edfa671c87aebd79ee179a8340b289d9811ae6fa30ef75eefd5f5890fb6285174c5db72ff65
Diffstat (limited to 'src')
-rw-r--r--src/wallet/rpcwallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp
index 0dd854bf9f..8d9b67d82f 100644
--- a/src/wallet/rpcwallet.cpp
+++ b/src/wallet/rpcwallet.cpp
@@ -4068,7 +4068,7 @@ UniValue walletcreatefundedpsbt(const JSONRPCRequest& request)
const CTransaction txConst(*psbtx.tx);
// Fill transaction with out data but don't sign
- bool bip32derivs = request.params[4].isNull() ? false : request.params[5].get_bool();
+ bool bip32derivs = request.params[4].isNull() ? false : request.params[4].get_bool();
FillPSBT(pwallet, psbtx, &txConst, 1, false, bip32derivs);
// Serialize the PSBT