mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-01 00:34:01 +02:00
test: Require named arg for create_block ntime arg
The named arg is useful, so that the two integral args (possibly integral literals) `height` and `ntime` are not confused.
This commit is contained in:
@@ -99,7 +99,7 @@ class InvalidBlockRequestTest(BitcoinTestFramework):
|
||||
|
||||
self.log.info("Test very broken block.")
|
||||
|
||||
block3 = create_block(tip, create_coinbase(height, nValue=100), block_time)
|
||||
block3 = create_block(tip, create_coinbase(height, nValue=100), ntime=block_time)
|
||||
block_time += 1
|
||||
block3.solve()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user