aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorEmil Engler <me@emilengler.com>2019-08-13 18:25:58 +0200
committerEmil Engler <me@emilengler.com>2019-08-13 18:25:58 +0200
commit14f7eec3bdb15a9a75f8686c0a3e879aa8ceef47 (patch)
tree6be8ad2e914743cf045e811ce86673e9ca43aa4c /src/rpc
parentb799ebcc17ea914b6e50f97f008f498ca31e0f36 (diff)
rpc: Fix getblocktemplate CLI example (#16594)
Diffstat (limited to 'src/rpc')
-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 48bc88823a..92a0e33769 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);