[doc] getblocktemplate: use SegWit in example

This commit is contained in:
Sjors Provoost committed 2018-10-13 17:15:08 +09:00
1 parent be992701b0
commit d562027079
1 file changed
+2 -2
+2 -2
View File
@@ -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);