diff options
author | Gregory Sanders <gsanders87@gmail.com> | 2018-08-24 17:03:55 -0400 |
---|---|---|
committer | Gregory Sanders <gsanders87@gmail.com> | 2018-08-24 17:03:55 -0400 |
commit | 61fe653bd919cb0533b2b9d6259bc86a4b2975c0 (patch) | |
tree | c5da1cd48ab1fe0186671afc6d820fb76deb96a2 /src/wallet/rpcwallet.cpp | |
parent | 271b379e636afa419c5208cb462c07090490266c (diff) |
fix walletcreatefundedpsbt deriv paths, add test
Diffstat (limited to 'src/wallet/rpcwallet.cpp')
-rw-r--r-- | src/wallet/rpcwallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index b108d6df53..5ff3fa7067 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -4742,7 +4742,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 |