aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2018-10-13 17:15:08 +0900
committerSjors Provoost <sjors@sprovoost.nl>2018-10-18 15:06:31 +0700
commitf7dbcaa72f184aabdac2fa1435a504ed001acd09 (patch)
treef276a8c979c3560f73f6a52b98a1c135725b2cca /src
parent5b47b8efd48d233a5f7c12d1d7713dcd2f616255 (diff)
[doc] getblocktemplate: use SegWit in example
Diffstat (limited to 'src')
-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 e751587dc7..9da3c1493b 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);