rpc: Fix getblocktemplate CLI example (#16594)

Github-Pull: #16596
Rebased-From: 14f7eec3bd
This commit is contained in:
Emil Engler 2019-08-13 18:25:58 +02:00 committed by fanquake
parent 1cc06a1b67
commit 7bd8f4e432
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -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());