aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/server.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-01-12 06:41:46 +0100
committerMarcoFalke <falke.marco@gmail.com>2021-01-28 08:19:52 +0100
commitfa04f9b4ddffc5ef23c2ee7f3cc72a7c2ae49204 (patch)
treed0e54a820a23c4db4ae7e56136b161ca476da201 /src/rpc/server.cpp
parentfa92912b4bb4629addcbfdfb7cc000be701614af (diff)
rpc: Remove duplicate name and argNames from CRPCCommand
Diffstat (limited to 'src/rpc/server.cpp')
-rw-r--r--src/rpc/server.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp
index e8abc020da..9a9b3713f3 100644
--- a/src/rpc/server.cpp
+++ b/src/rpc/server.cpp
@@ -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