diff options
| author | Sjors Provoost <[email protected]> | 2018-10-13 17:15:08 +0900 |
|---|---|---|
| committer | Sjors Provoost <[email protected]> | 2018-10-18 15:06:31 +0700 |
| commit | f7dbcaa72f184aabdac2fa1435a504ed001acd09 (patch) | |
| tree | f276a8c979c3560f73f6a52b98a1c135725b2cca /src/rpc/mining.cpp | |
| parent | doc: Clean out release notes after release 0.17.0 (diff) | |
| download | discoin-f7dbcaa72f184aabdac2fa1435a504ed001acd09.tar.xz discoin-f7dbcaa72f184aabdac2fa1435a504ed001acd09.zip | |
[doc] getblocktemplate: use SegWit in example
Diffstat (limited to 'src/rpc/mining.cpp')
| -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 e751587dc..9da3c1493 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -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); |