aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Sanders <gsanders87@gmail.com>2018-08-20 12:57:06 -0400
committerWladimir J. van der Laan <laanwj@gmail.com>2018-08-21 09:44:53 +0200
commit9833545d18c7e0884c4ab3a80b505be5b91c56af (patch)
tree0cd6b086963e1ce577e396686c5ef1b5adb3d892
parent82e2b9cb25d62f709d443e8e9fb5d174eb29eab0 (diff)
RPCTypeCheck bip32derivs arg in walletcreatefunded
Github-Pull: #13968 Rebased-From: faaac5caaab4d5131040292f4ef2404074ad268b Tree-SHA512: 758c0c3e4435897d1a9b03ea93f1b2a1a1b64071eda9450f968acf537c172ee61acf9d962bc22ddb6de26e0ad39d9165cdee6f260bb5a95bf97b4003853f0874
-rw-r--r--src/wallet/rpcwallet.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp
index 0c03e7a896..bce19cfeb3 100644
--- a/src/wallet/rpcwallet.cpp
+++ b/src/wallet/rpcwallet.cpp
@@ -4714,7 +4714,8 @@ UniValue walletcreatefundedpsbt(const JSONRPCRequest& request)
UniValue::VARR,
UniValueType(), // ARR or OBJ, checked later
UniValue::VNUM,
- UniValue::VOBJ
+ UniValue::VOBJ,
+ UniValue::VBOOL
}, true
);