From f7dbcaa72f184aabdac2fa1435a504ed001acd09 Mon Sep 17 00:00:00 2001 From: Sjors Provoost Date: Sat, 13 Oct 2018 17:15:08 +0900 Subject: [PATCH] [doc] getblocktemplate: use SegWit in example --- src/rpc/mining.cpp | 4 ++-- 1 file 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);