aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_taproot.py
diff options
context:
space:
mode:
authorSebastian Falbesoner <sebastian.falbesoner@gmail.com>2021-11-15 16:13:56 +0100
committerSebastian Falbesoner <sebastian.falbesoner@gmail.com>2021-11-17 15:44:09 +0100
commitae9df4ef937ef77405f6edd7c13615df7b63446f (patch)
tree7c29ea4c0b6bbb0f1a856ea4ef9f71cbdf58811e /test/functional/feature_taproot.py
parentd94dc69ee454144f4db12d163b15717cc6cad383 (diff)
downloadbitcoin-ae9df4ef937ef77405f6edd7c13615df7b63446f.tar.xz
test: refactor: take use of `create_block` version parameter (or use default)
Diffstat (limited to 'test/functional/feature_taproot.py')
-rwxr-xr-xtest/functional/feature_taproot.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/functional/feature_taproot.py b/test/functional/feature_taproot.py
index 9f00240a47..ed0fe25601 100755
--- a/test/functional/feature_taproot.py
+++ b/test/functional/feature_taproot.py
@@ -1267,7 +1267,6 @@ class TaprootTest(BitcoinTestFramework):
extra_output_script = CScript([OP_CHECKSIG]*((MAX_BLOCK_SIGOPS_WEIGHT - sigops_weight) // WITNESS_SCALE_FACTOR))
block = create_block(self.tip, create_coinbase(self.lastblockheight + 1, pubkey=cb_pubkey, extra_output_script=extra_output_script, fees=fees), self.lastblocktime + 1)
- block.nVersion = 4
for tx in txs:
tx.rehash()
block.vtx.append(tx)