diff options
| author | MarcoFalke <[email protected]> | 2018-10-20 08:19:44 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2018-11-14 15:33:15 -0500 |
| commit | fa91e8eda541acdb78ca481b74605639f319c108 (patch) | |
| tree | c6f299e2daa4c2428ca2039a538b4686a1c1d5f6 /src/zmq/zmqrpc.cpp | |
| parent | lint: Must use RPCHelpMan to generate the RPC docs (diff) | |
| download | discoin-fa91e8eda541acdb78ca481b74605639f319c108.tar.xz discoin-fa91e8eda541acdb78ca481b74605639f319c108.zip | |
Use RPCHelpMan for all RPCs
Diffstat (limited to 'src/zmq/zmqrpc.cpp')
| -rw-r--r-- | src/zmq/zmqrpc.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/zmq/zmqrpc.cpp b/src/zmq/zmqrpc.cpp index 66b491427..d3eab46e5 100644 --- a/src/zmq/zmqrpc.cpp +++ b/src/zmq/zmqrpc.cpp @@ -17,8 +17,9 @@ UniValue getzmqnotifications(const JSONRPCRequest& request) { if (request.fHelp || request.params.size() != 0) { throw std::runtime_error( - "getzmqnotifications\n" - "\nReturns information about the active ZeroMQ notifications.\n" + RPCHelpMan{"getzmqnotifications", + "\nReturns information about the active ZeroMQ notifications.\n", {}} + .ToString() + "\nResult:\n" "[\n" " { (json object)\n" |