mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-12 11:19:08 -05:00
rpc: Fix getblocktemplate CLI example (#16594)
This commit is contained in:
parent
b799ebcc17
commit
14f7eec3bd
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ static UniValue getblocktemplate(const JSONRPCRequest& request)
|
||||||
"}\n"
|
"}\n"
|
||||||
},
|
},
|
||||||
RPCExamples{
|
RPCExamples{
|
||||||
HelpExampleCli("getblocktemplate", "{\"rules\": [\"segwit\"]}")
|
HelpExampleCli("getblocktemplate", "'{\"rules\": [\"segwit\"]}'")
|
||||||
+ HelpExampleRpc("getblocktemplate", "{\"rules\": [\"segwit\"]}")
|
+ HelpExampleRpc("getblocktemplate", "{\"rules\": [\"segwit\"]}")
|
||||||
},
|
},
|
||||||
}.Check(request);
|
}.Check(request);
|
||||||
|
|
Loading…
Add table
Reference in a new issue