diff options
author | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2021-11-15 16:13:56 +0100 |
---|---|---|
committer | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2021-11-17 15:44:09 +0100 |
commit | ae9df4ef937ef77405f6edd7c13615df7b63446f (patch) | |
tree | 7c29ea4c0b6bbb0f1a856ea4ef9f71cbdf58811e /test/functional/p2p_segwit.py | |
parent | d94dc69ee454144f4db12d163b15717cc6cad383 (diff) | |
download | bitcoin-ae9df4ef937ef77405f6edd7c13615df7b63446f.tar.xz |
test: refactor: take use of `create_block` version parameter (or use default)
Diffstat (limited to 'test/functional/p2p_segwit.py')
-rwxr-xr-x | test/functional/p2p_segwit.py | 1 |
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 |