aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/mining.cpp
diff options
context:
space:
mode:
authorDavid O'Callaghan <[email protected]>2020-03-05 10:36:27 +0000
committerDavid O'Callaghan <[email protected]>2020-03-05 15:35:47 +0000
commit8a2a652e6fab5eb8224beefcc07d9011b61865a8 (patch)
treee3326e88893ee39a4b1b628a1f830d39ae5bd225 /src/rpc/mining.cpp
parentMerge #17843: wallet: Reset reused transactions cache (diff)
downloaddiscoin-8a2a652e6fab5eb8224beefcc07d9011b61865a8.tar.xz
discoin-8a2a652e6fab5eb8224beefcc07d9011b61865a8.zip
Remove redundant type information from rpc docs
Co-Authored-By: MarcoFalke <[email protected]>
Diffstat (limited to 'src/rpc/mining.cpp')
-rw-r--r--src/rpc/mining.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp
index e5994b172..58c5ce32c 100644
--- a/src/rpc/mining.cpp
+++ b/src/rpc/mining.cpp
@@ -339,7 +339,7 @@ static UniValue getblocktemplate(const JSONRPCRequest& request)
" https://github.com/bitcoin/bips/blob/master/bip-0009.mediawiki#getblocktemplate_changes\n"
" https://github.com/bitcoin/bips/blob/master/bip-0145.mediawiki\n",
{
- {"template_request", RPCArg::Type::OBJ, "{}", "A json object in the following spec",
+ {"template_request", RPCArg::Type::OBJ, "{}", "Format of the template",
{
{"mode", RPCArg::Type::STR, /* treat as named arg */ RPCArg::Optional::OMITTED_NAMED_ARG, "This must be set to \"template\", \"proposal\" (see BIP 23), or omitted"},
{"capabilities", RPCArg::Type::ARR, /* treat as named arg */ RPCArg::Optional::OMITTED_NAMED_ARG, "A list of strings",