diff options
| author | Gregory Sanders <[email protected]> | 2018-08-24 17:03:55 -0400 |
|---|---|---|
| committer | Gregory Sanders <[email protected]> | 2018-08-24 17:03:55 -0400 |
| commit | 61fe653bd919cb0533b2b9d6259bc86a4b2975c0 (patch) | |
| tree | c5da1cd48ab1fe0186671afc6d820fb76deb96a2 /src | |
| parent | Merge #14018: Bugfix: NSIS: Exclude Makefile* from docs (diff) | |
| download | discoin-61fe653bd919cb0533b2b9d6259bc86a4b2975c0.tar.xz discoin-61fe653bd919cb0533b2b9d6259bc86a4b2975c0.zip | |
fix walletcreatefundedpsbt deriv paths, add test
Diffstat (limited to 'src')
| -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 b108d6df5..5ff3fa706 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 |