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

@@ -24,7 +24,7 @@ static RPCHelpMan rpcNestedTest_rpc()
{"arg2", RPCArg::Type::STR, RPCArg::Optional::OMITTED, ""},
{"arg3", RPCArg::Type::STR, RPCArg::Optional::OMITTED, ""},
},
{},
RPCResult{RPCResult::Type::ANY, "", ""},
RPCExamples{""},
[](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue {
return request.params.write(0, 0);