Bugfix: RPC: Remove quotes from non-string oneline descriptions

This commit is contained in:
Luke Dashjr
2023-07-22 01:03:18 +00:00
parent d23fda0584
commit 7c61e9df90
3 changed files with 5 additions and 5 deletions

View File

@@ -569,7 +569,7 @@ static RPCHelpMan getblocktemplate()
{"longpollid", RPCArg::Type::STR, RPCArg::Optional::OMITTED, "delay processing request until the result would vary significantly from the \"longpollid\" of a prior template"},
{"data", RPCArg::Type::STR_HEX, RPCArg::Optional::OMITTED, "proposed block data to check, encoded in hexadecimal; valid only for mode=\"proposal\""},
},
RPCArgOptions{.oneline_description="\"template_request\""}},
RPCArgOptions{.oneline_description="template_request"}},
},
{
RPCResult{"If the proposal was accepted with mode=='proposal'", RPCResult::Type::NONE, "", ""},