mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
test: Remove unused unnamed parameter from block.serialize call
All blocks and transactions are serialized with witness, no need to set this
This commit is contained in:
parent
218fe60d91
commit
fa762a3fd4
1 changed files with 1 additions and 1 deletions
|
@ -1218,7 +1218,7 @@ class TaprootTest(BitcoinTestFramework):
|
|||
witness and add_witness_commitment(block)
|
||||
block.rehash()
|
||||
block.solve()
|
||||
block_response = node.submitblock(block.serialize(True).hex())
|
||||
block_response = node.submitblock(block.serialize().hex())
|
||||
if err_msg is not None:
|
||||
assert block_response is not None and err_msg in block_response, "Missing error message '%s' from block response '%s': %s" % (err_msg, "(None)" if block_response is None else block_response, msg)
|
||||
if (accept):
|
||||
|
|
Loading…
Add table
Reference in a new issue