Skip to content

Commit

Permalink
go/roothash/tester: fix flaky RoundTimeoutWithEpochTransition
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrus committed Aug 26, 2020
1 parent f4db6a5 commit 353057c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/roothash/tests/tester.go
Original file line number Diff line number Diff line change
Expand Up @@ -546,8 +546,8 @@ WaitForRoundTimeoutBlocks:
case blk := <-ch:
header := blk.Block.Header

// Skip initial round.
if header.Round == child.Header.Round {
// Skip initial rounds.
if header.Round <= child.Header.Round {
continue
}

Expand Down

0 comments on commit 353057c

Please sign in to comment.