aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Engler <me@emilengler.com>2019-08-13 18:25:58 +0200
committerfanquake <fanquake@gmail.com>2019-09-24 07:53:28 +0800
commit7bd8f4e4321b73a9d55926778655310de0166bac (patch)
tree165bdc41eb24576cd0f4f90e201b8b4197009f81
parent1cc06a1b6753362e690dc18f79ad177d5f8a87c2 (diff)
downloadbitcoin-7bd8f4e4321b73a9d55926778655310de0166bac.tar.xz
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 6625a03bbd..b149bab897 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());