[doc] getblocktemplate: use SegWit in example

This commit is contained in:
Sjors Provoost committed 2018-10-18 15:06:31 +07:00
1 parent 5b47b8efd4
commit f7dbcaa72f
1 file changed
+2 -2
+2 -2
View File
@@ -361,8 +361,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);