Skip to content

Commit

Permalink
add missing atomic reads
Browse files Browse the repository at this point in the history
  • Loading branch information
ross-pure committed Dec 8, 2021
1 parent 876390c commit 0b47239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion replica/replica.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ func (replica Replica) Round() process.Round {
}

func (replica *Replica) filterHeight(height process.Height) bool {
return height >= replica.proc.CurrentHeight
return height >= replica.Height()
}

func (replica *Replica) flush() {
Expand Down

0 comments on commit 0b47239

Please sign in to comment.