1
1
mirror of https://github.com/bitcoin/bitcoin.git synced 2024-05-17 23:56:39 +00:00

[doc] getblocktemplate: use SegWit in example

This commit is contained in:
Sjors Provoost 2018-10-13 17:15:08 +09:00
parent be992701b0
commit d562027079
No known key found for this signature in database
GPG Key ID: 57FF9BDBCC301009

View File

@ -362,8 +362,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);