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 <dzutte.tomsk@gmail.com>
This commit is contained in:
Dzutte 2021-10-26 13:16:04 -07:00 committed by GitHub
parent 95262de6b1
commit 60c5f9b0d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"},