rpc: Fail to return undocumented return values

This commit is contained in:
MarcoFalke
2020-11-23 10:41:27 +01:00
parent 80a699fda9
commit fa8192f42e
5 changed files with 53 additions and 7 deletions

View File

@@ -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