Skip to content

Commit

Permalink
rpc: Fix getblocktemplate CLI example (bitcoin#16594)
Browse files Browse the repository at this point in the history
Github-Pull: bitcoin#16596
Rebased-From: 14f7eec
  • Loading branch information
cvengler authored and fanquake committed Sep 23, 2019
1 parent 1cc06a1 commit 7bd8f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc/mining.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ static UniValue getblocktemplate(const JSONRPCRequest& request)
"}\n"
},
RPCExamples{
HelpExampleCli("getblocktemplate", "{\"rules\": [\"segwit\"]}")
HelpExampleCli("getblocktemplate", "'{\"rules\": [\"segwit\"]}'")
+ HelpExampleRpc("getblocktemplate", "{\"rules\": [\"segwit\"]}")
},
}.ToString());
Expand Down

0 comments on commit 7bd8f4e

Please sign in to comment.