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

@@ -1297,12 +1297,12 @@ RPCHelpMan importmulti()
},
},
},
RPCArgOptions{.oneline_description="\"requests\""}},
RPCArgOptions{.oneline_description="requests"}},
{"options", RPCArg::Type::OBJ_NAMED_PARAMS, RPCArg::Optional::OMITTED, "",
{
{"rescan", RPCArg::Type::BOOL, RPCArg::Default{true}, "Scan the chain and mempool for wallet transactions after all imports."},
},
RPCArgOptions{.oneline_description="\"options\""}},
RPCArgOptions{.oneline_description="options"}},
},
RPCResult{
RPCResult::Type::ARR, "", "Response is an array with the same size as the input that has the execution result",
@@ -1617,7 +1617,7 @@ RPCHelpMan importdescriptors()
},
},
},
RPCArgOptions{.oneline_description="\"requests\""}},
RPCArgOptions{.oneline_description="requests"}},
},
RPCResult{
RPCResult::Type::ARR, "", "Response is an array with the same size as the input that has the execution result",