aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/mining.cpp
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2018-10-13 17:15:08 +0900
committerSjors Provoost <sjors@sprovoost.nl>2018-10-13 17:15:08 +0900
commitd562027079622f067e8f647bad7c5ac1d63a30d4 (patch)
treef6471c3becd1d0a8f569d0beea91efd5ee4d6ced /src/rpc/mining.cpp
parentbe992701b018f256db6d64786624be4cb60d8975 (diff)
downloadbitcoin-d562027079622f067e8f647bad7c5ac1d63a30d4.tar.xz
[doc] getblocktemplate: use SegWit in example
Diffstat (limited to 'src/rpc/mining.cpp')
-rw-r--r--src/rpc/mining.cpp4
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);