Skip to content

Commit c969ab4

Browse files
author
MarcoFalke
committed
Merge bitcoin#21084: test: fix timeout decrease in feature_assumevalid
0d39b58 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 0d39b58: patch looks correct theStack: ACK 0d39b58 ⏲️ Tree-SHA512: ae3c83420b4de4ad41f1b20b6e77c3a26a8c5ac4fb136b2645fde119545a413c61312f76a16473141774bc955d30ac4fc86e5ca6cf729f8978a17d0dab520feb
2 parents e51f6c4 + 0d39b58 commit c969ab4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/feature_assumevalid.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def assert_blockchain_height(self, node, height):
9090
last_height = current_height
9191
if timeout < 0:
9292
assert False, "blockchain too short after timeout: %d" % current_height
93-
timeout - 0.25
93+
timeout -= 0.25
9494
continue
9595
elif current_height > height:
9696
assert False, "blockchain too long: %d" % current_height

0 commit comments

Comments
 (0)