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/misc.cpp | |
parent | 80a699fda9ff1129546cabbf17e955680a1cc705 (diff) |
rpc: Fail to return undocumented return values
Diffstat (limited to 'src/rpc/misc.cpp')
-rw-r--r-- | src/rpc/misc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/misc.cpp b/src/rpc/misc.cpp index 1df5c51718..8e98919391 100644 --- a/src/rpc/misc.cpp +++ b/src/rpc/misc.cpp @@ -628,7 +628,7 @@ static RPCHelpMan echo(const std::string& name) {"arg8", RPCArg::Type::STR, RPCArg::Optional::OMITTED_NAMED_ARG, ""}, {"arg9", RPCArg::Type::STR, RPCArg::Optional::OMITTED_NAMED_ARG, ""}, }, - RPCResult{RPCResult::Type::NONE, "", "Returns whatever was passed in"}, + RPCResult{RPCResult::Type::ANY, "", "Returns whatever was passed in"}, RPCExamples{""}, [&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue { |