aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-11-03 11:31:46 +0100
committerMarcoFalke <falke.marco@gmail.com>2020-11-03 12:23:21 +0100
commitfa762a3fd43e49f8572be69e9129cd9170855f76 (patch)
treef834443ac71f89293b73b582f34ffd0825dff918 /test
parent218fe60d91a9190aa0ee561479044df368214766 (diff)
downloadbitcoin-fa762a3fd43e49f8572be69e9129cd9170855f76.tar.xz
test: Remove unused unnamed parameter from block.serialize call
All blocks and transactions are serialized with witness, no need to set this
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/feature_taproot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/feature_taproot.py b/test/functional/feature_taproot.py
index 3e47e24a3b..f3741b1c17 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):