[doc] getblocktemplate: use SegWit in example
This commit is contained in:
parent
5b47b8efd4
commit
f7dbcaa72f
1 changed files with 2 additions and 2 deletions
|
@ -361,8 +361,8 @@ static UniValue getblocktemplate(const JSONRPCRequest& request)
|
||||||
"}\n"
|
"}\n"
|
||||||
|
|
||||||
"\nExamples:\n"
|
"\nExamples:\n"
|
||||||
+ HelpExampleCli("getblocktemplate", "")
|
+ HelpExampleCli("getblocktemplate", "{\"rules\": [\"segwit\"]}")
|
||||||
+ HelpExampleRpc("getblocktemplate", "")
|
+ HelpExampleRpc("getblocktemplate", "{\"rules\": [\"segwit\"]}")
|
||||||
);
|
);
|
||||||
|
|
||||||
LOCK(cs_main);
|
LOCK(cs_main);
|
||||||
|
|
Loading…
Reference in a new issue