From fa762a3fd43e49f8572be69e9129cd9170855f76 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Tue, 3 Nov 2020 11:31:46 +0100 Subject: [PATCH] test: Remove unused unnamed parameter from block.serialize call All blocks and transactions are serialized with witness, no need to set this --- test/functional/feature_taproot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/feature_taproot.py b/test/functional/feature_taproot.py index 3e47e24a3bb..f3741b1c17b 100755 --- a/test/functional/feature_taproot.py +++ b/test/functional/feature_taproot.py @@ -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):