Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
alpe committed Oct 6, 2023
1 parent 9e4bc8d commit d0fadae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/system/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ func (s *SystemUnderTest) AwaitBlockHeight(t *testing.T, targetHeight int64, tim
t.Fatalf("Timeout - block %d not reached within %s", targetHeight, maxWaitTime)
return
default:
if current := s.AwaitNextBlock(t); current == targetHeight {
if current := s.AwaitNextBlock(t); current >= targetHeight {
return
}
}
Expand Down

0 comments on commit d0fadae

Please sign in to comment.