From 4002ec93decb731cd8fdeebd1b367749b721e744 Mon Sep 17 00:00:00 2001 From: random-zebra Date: Fri, 3 Sep 2021 14:37:40 +0200 Subject: [PATCH] [RPC][Doc] Fix RPC/cli example in setautocombinethreshold help Missing first argument (bolean, required, "enable"). --- src/wallet/rpcwallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 0dadae083bb9..024cfbd7f293 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -4519,7 +4519,7 @@ UniValue setautocombinethreshold(const JSONRPCRequest& request) "}\n" "\nExamples:\n" + - HelpExampleCli("setautocombinethreshold", "500.12") + HelpExampleRpc("setautocombinethreshold", "500.12")); + HelpExampleCli("setautocombinethreshold", "true 500.12") + HelpExampleRpc("setautocombinethreshold", "true, 500.12")); RPCTypeCheck(request.params, {UniValue::VBOOL, UniValue::VNUM});