diff options
author | Jon Layton <me@jonl.io> | 2018-11-13 13:42:36 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-11-13 14:24:40 -0500 |
commit | fa0815c3005c861ba94b96412e7997c25e7f6788 (patch) | |
tree | 2208715a790996a7427ee730b1b60fed3d6c69a3 /src/rpc/server.cpp | |
parent | c651265c934c84c683aa054f2a456b12acc41590 (diff) |
rpc: Correctly name arguments
Diffstat (limited to 'src/rpc/server.cpp')
-rw-r--r-- | src/rpc/server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp index 9d2c6ca0a6..f890baba51 100644 --- a/src/rpc/server.cpp +++ b/src/rpc/server.cpp @@ -235,7 +235,7 @@ UniValue stop(const JSONRPCRequest& jsonRequest) static UniValue uptime(const JSONRPCRequest& jsonRequest) { - if (jsonRequest.fHelp || jsonRequest.params.size() > 1) + if (jsonRequest.fHelp || jsonRequest.params.size() > 0) throw std::runtime_error( "uptime\n" "\nReturns the total uptime of the server.\n" |