rpc: Fix getblocktemplate CLI example (#16594)

This commit is contained in:
Emil Engler committed 2019-08-13 18:25:58 +02:00
1 parent b799ebcc17
commit 14f7eec3bd
1 file changed
+1 -1
+1 -1
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);