diff options
| author | Sjors Provoost <[email protected]> | 2018-10-13 17:15:08 +0900 |
|---|---|---|
| committer | Sjors Provoost <[email protected]> | 2018-10-13 17:15:08 +0900 |
| commit | d562027079622f067e8f647bad7c5ac1d63a30d4 (patch) | |
| tree | f6471c3becd1d0a8f569d0beea91efd5ee4d6ced /src | |
| parent | Merge #14373: Consistency fixes for RPC descriptions (diff) | |
| download | discoin-d562027079622f067e8f647bad7c5ac1d63a30d4.tar.xz discoin-d562027079622f067e8f647bad7c5ac1d63a30d4.zip | |
[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 d5fb0db75..c565b9b4f 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); |