rpc: Remove duplicate name and argNames from CRPCCommand

This commit is contained in:
MarcoFalke
2021-01-12 06:41:46 +01:00
parent fa92912b4b
commit fa04f9b4dd
10 changed files with 172 additions and 174 deletions

View File

@@ -249,13 +249,13 @@ static RPCHelpMan getrpcinfo()
// clang-format off
static const CRPCCommand vRPCCommands[] =
{ // category name actor (function) argNames
// --------------------- ------------------------ ----------------------- ----------
{ // category actor (function)
// --------------------- -----------------------
/* Overall control/query calls */
{ "control", "getrpcinfo", &getrpcinfo, {} },
{ "control", "help", &help, {"command"} },
{ "control", "stop", &stop, {"wait"} },
{ "control", "uptime", &uptime, {} },
{ "control", &getrpcinfo, },
{ "control", &help, },
{ "control", &stop, },
{ "control", &uptime, },
};
// clang-format on