diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2018-10-19 19:03:51 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2018-10-19 19:04:39 -0700 |
commit | 1b5af2c177ee31109fdd710bc1f1f4f922cedaef (patch) | |
tree | f276a8c979c3560f73f6a52b98a1c135725b2cca | |
parent | 5b47b8efd48d233a5f7c12d1d7713dcd2f616255 (diff) | |
parent | f7dbcaa72f184aabdac2fa1435a504ed001acd09 (diff) | |
download | bitcoin-1b5af2c177ee31109fdd710bc1f1f4f922cedaef.tar.xz |
Merge #14509: [0.17] doc: use SegWit in getblocktemplate example
f7dbcaa72f [doc] getblocktemplate: use SegWit in example (Sjors Provoost)
Pull request description:
Backport of #14472
Tree-SHA512: ac0863b5f04abe2cbdbb44f376094aa6c224aecd6d3a87689a2bb5a939cb18503eab6e33bfb9814dd2129ddf1dae0118054afc8eb4c438bd390c172defab343b
-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 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); |