mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-09 05:14:22 +01:00
test: fix timeout decrease in feature_assumevalid
This commit is contained in:
parent
ea5a50f92a
commit
0d39b5848a
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ class AssumeValidTest(BitcoinTestFramework):
|
||||||
last_height = current_height
|
last_height = current_height
|
||||||
if timeout < 0:
|
if timeout < 0:
|
||||||
assert False, "blockchain too short after timeout: %d" % current_height
|
assert False, "blockchain too short after timeout: %d" % current_height
|
||||||
timeout - 0.25
|
timeout -= 0.25
|
||||||
continue
|
continue
|
||||||
elif current_height > height:
|
elif current_height > height:
|
||||||
assert False, "blockchain too long: %d" % current_height
|
assert False, "blockchain too long: %d" % current_height
|
||||||
|
|
Loading…
Add table
Reference in a new issue