Skip to content

Commit fa762a3

Browse files
author
MarcoFalke
committed
test: Remove unused unnamed parameter from block.serialize call
All blocks and transactions are serialized with witness, no need to set this
1 parent 218fe60 commit fa762a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/feature_taproot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,7 @@ def block_submit(self, node, txs, msg, err_msg, cb_pubkey=None, fees=0, sigops_w
12181218
witness and add_witness_commitment(block)
12191219
block.rehash()
12201220
block.solve()
1221-
block_response = node.submitblock(block.serialize(True).hex())
1221+
block_response = node.submitblock(block.serialize().hex())
12221222
if err_msg is not None:
12231223
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)
12241224
if (accept):

0 commit comments

Comments
 (0)