Skip to content

Commit

Permalink
Revert "GH-2102 Fix comparison in waitForBlock"
Browse files Browse the repository at this point in the history
This reverts commit 914f218.
  • Loading branch information
heifner committed Apr 5, 2024
1 parent 2449830 commit e464aee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestHarness/Node.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def waitForNextBlock(self, timeout=None, blockType=BlockType.head):
return ret

def waitForBlock(self, blockNum, timeout=None, blockType=BlockType.head, reportInterval=None):
lam = lambda: self.getBlockNum(blockType=blockType) >= blockNum
lam = lambda: self.getBlockNum(blockType=blockType) > blockNum
blockDesc = "head" if blockType == BlockType.head else "LIB"
count = 0

Expand Down

0 comments on commit e464aee

Please sign in to comment.