test: refactor: take use of create_block version parameter (or use default)
This commit is contained in:
1 parent
d94dc69ee4
commit
ae9df4ef93
7 files changed
+4
-12
No files matched your search
@@ -174,7 +174,6 @@ class BIP68_112_113Test(BitcoinTestFramework):
|
||||
|
||||
def create_test_block(self, txs):
|
||||
block = create_block(self.tip, create_coinbase(self.tipheight + 1), self.last_block_time + 600)
|
||||
block.nVersion = 4
|
||||
block.vtx.extend(txs)
|
||||
block.hashMerkleRoot = block.calc_merkle_root()
|
||||
block.solve()
|
||||
|
||||
Reference in new issue
Block a user