mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 07:09:15 +01:00
[doc] getblocktemplate: use SegWit in example
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user