aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-02-08 10:38:49 +0100
committerMarcoFalke <falke.marco@gmail.com>2021-02-08 10:38:52 +0100
commitc969ab43c3888b1cd8e691484f2dc32a607d050f (patch)
tree9cea46c90c960995d3a2585c6972f4078096c746 /test
parente51f6c4dee3d42b2707c31fa1c93a337b6bf5ba7 (diff)
parent0d39b5848a7a341cd2b958336861cdd4098e2616 (diff)
Merge #21084: test: fix timeout decrease in feature_assumevalid
0d39b5848a7a341cd2b958336861cdd4098e2616 test: fix timeout decrease in feature_assumevalid (Bruno Garcia) Pull request description: This PR fixes the timeout decrease in assert_blockchain_height function. ACKs for top commit: practicalswift: cr ACK 0d39b5848a7a341cd2b958336861cdd4098e2616: patch looks correct theStack: ACK 0d39b5848a7a341cd2b958336861cdd4098e2616 ⏲️ Tree-SHA512: ae3c83420b4de4ad41f1b20b6e77c3a26a8c5ac4fb136b2645fde119545a413c61312f76a16473141774bc955d30ac4fc86e5ca6cf729f8978a17d0dab520feb
Diffstat (limited to 'test')
-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