From 0d39b5848a7a341cd2b958336861cdd4098e2616 Mon Sep 17 00:00:00 2001 From: Bruno Garcia Date: Thu, 4 Feb 2021 21:43:43 -0200 Subject: [PATCH] test: fix timeout decrease in feature_assumevalid --- test/functional/feature_assumevalid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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