diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2023-07-22 01:03:18 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2023-07-22 01:03:18 +0000 |
commit | 7c61e9df90579ed42a30016e52355e437733b128 (patch) | |
tree | cfdc7bf04ebdf230b47efc7ef66586966511b17d /src/rpc | |
parent | d23fda05842ba4539b225bbab01b94df0060f697 (diff) |
Bugfix: RPC: Remove quotes from non-string oneline descriptions
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/blockchain.cpp | 2 | ||||
-rw-r--r-- | src/rpc/mining.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index 717a119b56..c57cda0483 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -2312,7 +2312,7 @@ static RPCHelpMan scanblocks() { {"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"}, }, - RPCArgOptions{.oneline_description="\"options\""}}, + RPCArgOptions{.oneline_description="options"}}, }, { scan_result_status_none, diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index 1f9b264626..aa26ba863e 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -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, "", ""}, |