Merge #16596: rpc: Fix getblocktemplate CLI example
14f7eec3bd
rpc: Fix getblocktemplate CLI example (#16594) (Emil Engler) Pull request description: Fixes #16594. I didn't found any other syntax error in the code. Correct me if I'm wrong ACKs for top commit: fanquake: ACK14f7eec3bd
Tree-SHA512: 2137df2de07df2df9ffbe9e4b4ebb100bb40a36234aba01a6f65b00026f578a7a9040ac99936b4052531d72435e6e04f771beb8d6be51a9b072f93e88f1ecc01
This commit is contained in:
commit
0753c73927
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…
Reference in a new issue