From 60c5f9b0d5e7e4837f2745ca5c1850ed55cde5ff Mon Sep 17 00:00:00 2001 From: Dzutte <88999501+dzutte-cpp@users.noreply.github.com> Date: Tue, 26 Oct 2021 13:16:04 -0700 Subject: [PATCH] Remove unused change_type argument of walletcreatedfundedpsbt (#4550) This argument has been added by mistake and is not in use by Dash. Signed-off-by: Dzutte --- src/wallet/rpcwallet.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 30092cba82..32f3205381 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -4055,7 +4055,6 @@ UniValue walletcreatefundedpsbt(const JSONRPCRequest& request) { {"changeAddress", RPCArg::Type::STR_HEX, /* opt */ true, /* default_val */ "pool address", "The dash address to receive the change"}, {"changePosition", RPCArg::Type::NUM, /* opt */ true, /* default_val */ "random", "The index of the change output"}, - {"change_type", RPCArg::Type::STR, /* opt */ true, /* default_val */ "", "The output type to use. Only valid if changeAddress is not specified. Options are \"legacy\", \"p2sh-segwit\", and \"bech32\". Default is set by -changetype."}, {"includeWatching", RPCArg::Type::BOOL, /* opt */ true, /* default_val */ "false", "Also select inputs which are watch only"}, {"lockUnspents", RPCArg::Type::BOOL, /* opt */ true, /* default_val */ "false", "Lock selected unspent outputs"}, {"feeRate", RPCArg::Type::AMOUNT, /* opt */ true, /* default_val */ "not set: makes wallet determine the fee", "Set a specific fee rate in " + CURRENCY_UNIT + "/kB"},