aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p_segwit.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/p2p_segwit.py
parentd94dc69ee454144f4db12d163b15717cc6cad383 (diff)
test: refactor: take use of `create_block` version parameter (or use default)
Diffstat (limited to 'test/functional/p2p_segwit.py')
-rwxr-xr-xtest/functional/p2p_segwit.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/functional/p2p_segwit.py b/test/functional/p2p_segwit.py
index 252844ce1f..f377fbaaa6 100755
--- a/test/functional/p2p_segwit.py
+++ b/test/functional/p2p_segwit.py
@@ -232,7 +232,6 @@ class SegWitTest(BitcoinTestFramework):
height = self.nodes[0].getblockcount() + 1
block_time = self.nodes[0].getblockheader(tip)["mediantime"] + 1
block = create_block(int(tip, 16), create_coinbase(height), block_time)
- block.nVersion = 4
block.rehash()
return block