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
This commit is contained in:
commit
1b5af2c177
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue