RPC/Mining: Document template_request better for getblocktemplate

This commit is contained in:
Luke Dashjr
2023-07-22 01:04:57 +00:00
parent de319c6175
commit 5e3e83b005
2 changed files with 3 additions and 3 deletions

View File

@@ -172,7 +172,7 @@ class MiningTest(BitcoinTestFramework):
block.vtx = [coinbase_tx]
self.log.info("getblocktemplate: segwit rule must be set")
assert_raises_rpc_error(-8, "getblocktemplate must be called with the segwit rule set", node.getblocktemplate)
assert_raises_rpc_error(-8, "getblocktemplate must be called with the segwit rule set", node.getblocktemplate, {})
self.log.info("getblocktemplate: Test valid block")
assert_template(node, block, None)