diff --git a/graph/schema.resolvers.go b/graph/schema.resolvers.go index a1c40ff..2052e6b 100644 --- a/graph/schema.resolvers.go +++ b/graph/schema.resolvers.go @@ -226,27 +226,27 @@ func supportAltairUpgrade(clientName, ver string) bool { switch svcModels.ClientName(clientName) { case svcModels.PrysmClient: v, _ := version.NewVersion("v2.0.0") - if v.GreaterThanOrEqual(clientVersion) { + if clientVersion.GreaterThanOrEqual(v) { return true } case svcModels.TekuClient: v, _ := version.NewVersion("v21.9.2") - if v.GreaterThanOrEqual(clientVersion) { + if clientVersion.GreaterThanOrEqual(v) { return true } case svcModels.LighthouseClient: v, _ := version.NewVersion("v2.0.0") - if v.GreaterThanOrEqual(clientVersion) { + if clientVersion.GreaterThanOrEqual(v) { return true } case svcModels.NimbusClient: v, _ := version.NewVersion("v1.5.0") - if v.GreaterThanOrEqual(clientVersion) { + if clientVersion.GreaterThanOrEqual(v) { return true } case svcModels.LodestarClient: v, _ := version.NewVersion("v0.31.0") - if v.GreaterThanOrEqual(clientVersion) { + if clientVersion.GreaterThanOrEqual(v) { return true } default: