aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_assumevalid.py
diff options
context:
space:
mode:
authorBruno Garcia <brunoely.gc@gmail.com>2021-02-04 21:43:43 -0200
committerBruno Garcia <brunoely.gc@gmail.com>2021-02-04 21:43:43 -0200
commit0d39b5848a7a341cd2b958336861cdd4098e2616 (patch)
treee66d61b0e2f6799757f27a7040200d02690f5086 /test/functional/feature_assumevalid.py
parentea5a50f92a6ff81b1d2dd67cdc3663e0e66733ac (diff)
downloadbitcoin-0d39b5848a7a341cd2b958336861cdd4098e2616.tar.xz
test: fix timeout decrease in feature_assumevalid
Diffstat (limited to 'test/functional/feature_assumevalid.py')
-rwxr-xr-xtest/functional/feature_assumevalid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/feature_assumevalid.py b/test/functional/feature_assumevalid.py
index 603d7f5d3b..783b76f09d 100755
--- a/test/functional/feature_assumevalid.py
+++ b/test/functional/feature_assumevalid.py
@@ -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