0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-02 09:46:52 -05:00

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
No known key found for this signature in database
GPG key ID: 2F6D4145C55FC7C7

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