0
0
Fork 0
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:
MarcoFalke 2020-11-03 11:31:46 +01:00
parent 218fe60d91
commit fa762a3fd4
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

@ -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):