fix tests

This commit is contained in:
Jack Nelson 2023-06-30 16:45:18 -04:00
parent d47d502f84
commit b8393773d0
No known key found for this signature in database
GPG Key ID: 63C8D6E673ADF88B
1 changed files with 1 additions and 1 deletions

View File

@ -1510,7 +1510,7 @@ class TestBlockHeaderValidation:
# enable softfork2 at height 0, to make it apply to this test
# 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)
constants = bt.constants.replace(SOFT_FORK2_HEIGHT=0, MAX_FUTURE_TIME=5 * 60, MAX_FUTURE_TIME2=2 * 60)
time_delta = 2 * 60 + 1
else:
constants = bt.constants.replace(MAX_FUTURE_TIME=5 * 60)