mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-01 18:50:24 +02:00
rpc: Fix getblocktemplate CLI example (#16594)
This commit is contained in:
parent
b799ebcc17
commit
14f7eec3bd
@ -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…
x
Reference in New Issue
Block a user