rpc: Fail to return undocumented return values

This commit is contained in:
MarcoFalke committed 2021-04-01 12:16:28 +02:00
1 parent 80a699fda9
commit fa8192f42e
5 files changed
+53 -7

No files matched your search

+1 -1
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);