diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-11-23 10:41:27 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-04-01 12:16:28 +0200 |
commit | fa8192f42e1d24444f1d0433c96dbce1adf76967 (patch) | |
tree | ac36014b0eda47a216e01977b7c6dc6940d288a8 /src/rpc/server.cpp | |
parent | 80a699fda9ff1129546cabbf17e955680a1cc705 (diff) | |
download | bitcoin-fa8192f42e1d24444f1d0433c96dbce1adf76967.tar.xz |
rpc: Fail to return undocumented return values
Diffstat (limited to 'src/rpc/server.cpp')
-rw-r--r-- | src/rpc/server.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp index 2f05c8842f..5d816ba5bb 100644 --- a/src/rpc/server.cpp +++ b/src/rpc/server.cpp @@ -137,8 +137,9 @@ static RPCHelpMan help() { {"command", RPCArg::Type::STR, /* default */ "all commands", "The command to get help on"}, }, - RPCResult{ - RPCResult::Type::STR, "", "The help text" + { + RPCResult{RPCResult::Type::STR, "", "The help text"}, + RPCResult{RPCResult::Type::ANY, "", ""}, }, RPCExamples{""}, [&](const RPCHelpMan& self, const JSONRPCRequest& jsonRequest) -> UniValue |