RPC/Mining: Document template_request better for getblocktemplate

This commit is contained in:
Luke Dashjr committed 2023-07-22 01:29:11 +00:00
1 parent de319c6175
commit 5e3e83b005
2 files changed
+3 -3

No files matched your search

+1 -1
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)