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 committed 2020-11-03 12:23:21 +01:00
1 parent 218fe60d91
commit fa762a3fd4
1 file changed
+1 -1
+1 -1
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):