Skip to content

Commit 14f7eec

Browse files
committed
rpc: Fix getblocktemplate CLI example (#16594)
1 parent b799ebc commit 14f7eec

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)