Skip to content

Commit d562027

Browse files
committed
[doc] getblocktemplate: use SegWit in example
1 parent be99270 commit d562027

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rpc/mining.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,8 @@ static UniValue getblocktemplate(const JSONRPCRequest& request)
362362
"}\n"
363363

364364
"\nExamples:\n"
365-
+ HelpExampleCli("getblocktemplate", "")
366-
+ HelpExampleRpc("getblocktemplate", "")
365+
+ HelpExampleCli("getblocktemplate", "{\"rules\": [\"segwit\"]}")
366+
+ HelpExampleRpc("getblocktemplate", "{\"rules\": [\"segwit\"]}")
367367
);
368368

369369
LOCK(cs_main);

0 commit comments

Comments
 (0)