aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Engler <[email protected]>2019-08-13 18:25:58 +0200
committerfanquake <[email protected]>2019-09-24 07:53:28 +0800
commit7bd8f4e4321b73a9d55926778655310de0166bac (patch)
tree165bdc41eb24576cd0f4f90e201b8b4197009f81
parentdoc: Fix typos in COPYRIGHT (diff)
downloaddiscoin-7bd8f4e4321b73a9d55926778655310de0166bac.tar.xz
discoin-7bd8f4e4321b73a9d55926778655310de0166bac.zip
rpc: Fix getblocktemplate CLI example (#16594)
Github-Pull: #16596 Rebased-From: 14f7eec3bdb15a9a75f8686c0a3e879aa8ceef47
-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 6625a03bb..b149bab89 100644
--- a/src/rpc/mining.cpp
+++ b/src/rpc/mining.cpp
@@ -368,7 +368,7 @@ static UniValue getblocktemplate(const JSONRPCRequest& request)
"}\n"
},
RPCExamples{
- HelpExampleCli("getblocktemplate", "{\"rules\": [\"segwit\"]}")
+ HelpExampleCli("getblocktemplate", "'{\"rules\": [\"segwit\"]}'")
+ HelpExampleRpc("getblocktemplate", "{\"rules\": [\"segwit\"]}")
},
}.ToString());