rpc: Fix getblocktemplate CLI example (#16594)

This commit is contained in:
Emil Engler
2019-08-13 18:25:58 +02:00
parent b799ebcc17
commit 14f7eec3bd

View File

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