Skip to content

Commit 0753c73

Browse files
committed
Merge #16596: rpc: Fix getblocktemplate CLI example
14f7eec 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: ACK 14f7eec Tree-SHA512: 2137df2de07df2df9ffbe9e4b4ebb100bb40a36234aba01a6f65b00026f578a7a9040ac99936b4052531d72435e6e04f771beb8d6be51a9b072f93e88f1ecc01
2 parents 034575e + 14f7eec commit 0753c73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rpc/mining.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ static UniValue getblocktemplate(const JSONRPCRequest& request)
352352
"}\n"
353353
},
354354
RPCExamples{
355-
HelpExampleCli("getblocktemplate", "{\"rules\": [\"segwit\"]}")
355+
HelpExampleCli("getblocktemplate", "'{\"rules\": [\"segwit\"]}'")
356356
+ HelpExampleRpc("getblocktemplate", "{\"rules\": [\"segwit\"]}")
357357
},
358358
}.Check(request);

0 commit comments

Comments
 (0)