test: refactor: take use of create_block version parameter (or use default)

This commit is contained in:
Sebastian Falbesoner
2021-11-15 16:13:56 +01:00
parent d94dc69ee4
commit ae9df4ef93
7 changed files with 4 additions and 12 deletions

View File

@ -135,7 +135,6 @@ class AssumeValidTest(BitcoinTestFramework):
# Bury the assumed valid block 2100 deep
for _ in range(2100):
block = create_block(self.tip, create_coinbase(height), self.block_time)
block.nVersion = 4
block.solve()
self.blocks.append(block)
self.tip = block.sha256