test: fix timeout decrease in feature_assumevalid

pull/826/head
Bruno Garcia 4 years ago
parent ea5a50f92a
commit 0d39b5848a

@ -90,7 +90,7 @@ class AssumeValidTest(BitcoinTestFramework):
last_height = current_height
if timeout < 0:
assert False, "blockchain too short after timeout: %d" % current_height
timeout - 0.25
timeout -= 0.25
continue
elif current_height > height:
assert False, "blockchain too long: %d" % current_height

Loading…
Cancel
Save