Skip to content

Commit 7c61e9d

Browse files
committed
Bugfix: RPC: Remove quotes from non-string oneline descriptions
1 parent d23fda0 commit 7c61e9d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/rpc/blockchain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2312,7 +2312,7 @@ static RPCHelpMan scanblocks()
23122312
{
23132313
{"filter_false_positives", RPCArg::Type::BOOL, RPCArg::Default{false}, "Filter false positives (slower and may fail on pruned nodes). Otherwise they may occur at a rate of 1/M"},
23142314
},
2315-
RPCArgOptions{.oneline_description="\"options\""}},
2315+
RPCArgOptions{.oneline_description="options"}},
23162316
},
23172317
{
23182318
scan_result_status_none,

src/rpc/mining.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ static RPCHelpMan getblocktemplate()
569569
{"longpollid", RPCArg::Type::STR, RPCArg::Optional::OMITTED, "delay processing request until the result would vary significantly from the \"longpollid\" of a prior template"},
570570
{"data", RPCArg::Type::STR_HEX, RPCArg::Optional::OMITTED, "proposed block data to check, encoded in hexadecimal; valid only for mode=\"proposal\""},
571571
},
572-
RPCArgOptions{.oneline_description="\"template_request\""}},
572+
RPCArgOptions{.oneline_description="template_request"}},
573573
},
574574
{
575575
RPCResult{"If the proposal was accepted with mode=='proposal'", RPCResult::Type::NONE, "", ""},

src/wallet/rpc/backup.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,12 +1297,12 @@ RPCHelpMan importmulti()
12971297
},
12981298
},
12991299
},
1300-
RPCArgOptions{.oneline_description="\"requests\""}},
1300+
RPCArgOptions{.oneline_description="requests"}},
13011301
{"options", RPCArg::Type::OBJ_NAMED_PARAMS, RPCArg::Optional::OMITTED, "",
13021302
{
13031303
{"rescan", RPCArg::Type::BOOL, RPCArg::Default{true}, "Scan the chain and mempool for wallet transactions after all imports."},
13041304
},
1305-
RPCArgOptions{.oneline_description="\"options\""}},
1305+
RPCArgOptions{.oneline_description="options"}},
13061306
},
13071307
RPCResult{
13081308
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()
16171617
},
16181618
},
16191619
},
1620-
RPCArgOptions{.oneline_description="\"requests\""}},
1620+
RPCArgOptions{.oneline_description="requests"}},
16211621
},
16221622
RPCResult{
16231623
RPCResult::Type::ARR, "", "Response is an array with the same size as the input that has the execution result",

0 commit comments

Comments
 (0)