rpc: fix help for gobject_list_prepared (#3879)

This commit is contained in:
thephez 2020-12-16 18:37:22 -05:00 committed by GitHub
parent 39ded9f7c1
commit ef173b9056
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -246,7 +246,7 @@ UniValue gobject_list_prepared(const JSONRPCRequest& request)
{
CWallet* const pwallet = GetWalletForJSONRPCRequest(request);
if (request.fHelp || (request.params.size() > 2)) {
gobject_prepare_help(pwallet);
gobject_list_prepared_help(pwallet);
}
if (!EnsureWalletIsAvailable(pwallet, request.fHelp))