Skip to content

Commit

Permalink
[doc] getblocktemplate: use SegWit in example
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjors committed Oct 13, 2018
1 parent be99270 commit d562027
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rpc/mining.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,8 @@ static UniValue getblocktemplate(const JSONRPCRequest& request)
"}\n"

"\nExamples:\n"
+ HelpExampleCli("getblocktemplate", "")
+ HelpExampleRpc("getblocktemplate", "")
+ HelpExampleCli("getblocktemplate", "{\"rules\": [\"segwit\"]}")
+ HelpExampleRpc("getblocktemplate", "{\"rules\": [\"segwit\"]}")
);

LOCK(cs_main);
Expand Down

0 comments on commit d562027

Please sign in to comment.