aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmil Engler <[email protected]>2019-08-13 18:25:58 +0200
committerEmil Engler <[email protected]>2019-08-13 18:25:58 +0200
commit14f7eec3bdb15a9a75f8686c0a3e879aa8ceef47 (patch)
tree6be8ad2e914743cf045e811ce86673e9ca43aa4c /src
parentMerge #16566: util: refactor upper/lowercase functions (diff)
downloaddiscoin-14f7eec3bdb15a9a75f8686c0a3e879aa8ceef47.tar.xz
discoin-14f7eec3bdb15a9a75f8686c0a3e879aa8ceef47.zip
rpc: Fix getblocktemplate CLI example (#16594)
Diffstat (limited to 'src')
-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 48bc88823..92a0e3376 100644
--- a/src/rpc/mining.cpp
+++ b/src/rpc/mining.cpp
@@ -352,7 +352,7 @@ static UniValue getblocktemplate(const JSONRPCRequest& request)
"}\n"
},
RPCExamples{
- HelpExampleCli("getblocktemplate", "{\"rules\": [\"segwit\"]}")
+ HelpExampleCli("getblocktemplate", "'{\"rules\": [\"segwit\"]}'")
+ HelpExampleRpc("getblocktemplate", "{\"rules\": [\"segwit\"]}")
},
}.Check(request);