Skip to content

Commit

Permalink
Consider duplicates too when printing supported replay builds
Browse files Browse the repository at this point in the history
  • Loading branch information
icza committed Jan 16, 2024
1 parent a503f3d commit 68faede
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@ func init() {
MinBaseBuild = k
}
}

// Consider duplicates too
for k := range build.Duplicates {
if MaxBaseBuild < k {
MaxBaseBuild = k
}
if MinBaseBuild > k {
MinBaseBuild = k
}
}
}

// EvtType describes a named event data structure type.
Expand Down

0 comments on commit 68faede

Please sign in to comment.