diff options
author | Emil Engler <me@emilengler.com> | 2019-08-13 18:25:58 +0200 |
---|---|---|
committer | Emil Engler <me@emilengler.com> | 2019-08-13 18:25:58 +0200 |
commit | 14f7eec3bdb15a9a75f8686c0a3e879aa8ceef47 (patch) | |
tree | 6be8ad2e914743cf045e811ce86673e9ca43aa4c /src/rpc/mining.cpp | |
parent | b799ebcc17ea914b6e50f97f008f498ca31e0f36 (diff) |
rpc: Fix getblocktemplate CLI example (#16594)
Diffstat (limited to 'src/rpc/mining.cpp')
-rw-r--r-- | src/rpc/mining.cpp | 2 |
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); |