[doc] getblocktemplate: use SegWit in example

This commit is contained in:
Sjors Provoost
2018-10-13 17:15:08 +09:00
parent 5b47b8efd4
commit f7dbcaa72f

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);