diff --git a/protocol.go b/protocol.go index e72b79a..86c5458 100644 --- a/protocol.go +++ b/protocol.go @@ -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.