diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2018-10-13 17:15:08 +0900 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2018-10-13 17:15:08 +0900 |
commit | d562027079622f067e8f647bad7c5ac1d63a30d4 (patch) | |
tree | f6471c3becd1d0a8f569d0beea91efd5ee4d6ced /src | |
parent | be992701b018f256db6d64786624be4cb60d8975 (diff) |
[doc] getblocktemplate: use SegWit in example
Diffstat (limited to 'src')
-rw-r--r-- | src/rpc/mining.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index d5fb0db752..c565b9b4f9 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -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); |