aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/server.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2022-04-24 16:44:35 +0200
committerMarcoFalke <falke.marco@gmail.com>2022-04-25 10:55:07 +0200
commitfa870e3d4ccd6dfd0a9a8f2c608721a7251114e2 (patch)
treeb952412be2a96f5e7f8e4cb501efe833284c3212 /src/rpc/server.cpp
parentb1c5991eebb916755be188f355ad36fe01a3f529 (diff)
Remove not needed clang-format off comments
Can be reviewed with --word-diff-regex=. --ignore-all-space
Diffstat (limited to 'src/rpc/server.cpp')
-rw-r--r--src/rpc/server.cpp14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp
index 333ed6f5da..95728c41a5 100644
--- a/src/rpc/server.cpp
+++ b/src/rpc/server.cpp
@@ -248,17 +248,13 @@ static RPCHelpMan getrpcinfo()
};
}
-// clang-format off
-static const CRPCCommand vRPCCommands[] =
-{ // category actor (function)
- // --------------------- -----------------------
+static const CRPCCommand vRPCCommands[]{
/* Overall control/query calls */
- { "control", &getrpcinfo, },
- { "control", &help, },
- { "control", &stop, },
- { "control", &uptime, },
+ {"control", &getrpcinfo},
+ {"control", &help},
+ {"control", &stop},
+ {"control", &uptime},
};
-// clang-format on
CRPCTable::CRPCTable()
{