mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-20 08:05:33 +03:00
parent
2e60325894
commit
ed0f0eba67
@ -1503,10 +1503,10 @@ class TestBlockHeaderValidation:
|
||||
# the test constants set MAX_FUTURE_TIME to 10 days, restore it to
|
||||
# default for this test
|
||||
constants = bt.constants.replace(SOFT_FORK2_HEIGHT=0, MAX_FUTURE_TIME=5 * 60)
|
||||
time_delta = 2 * 60
|
||||
time_delta = 2 * 60 + 1
|
||||
else:
|
||||
constants = bt.constants.replace(MAX_FUTURE_TIME=5 * 60)
|
||||
time_delta = 5 * 60
|
||||
time_delta = 5 * 60 + 1
|
||||
|
||||
blocks = bt.get_consecutive_blocks(1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user