[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
No known key found for this signature in database
GPG key ID: 57FF9BDBCC301009

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