fix(coordinator): fix TestApis (#883)

Co-authored-by: HAOYUatHZ <HAOYUatHZ@users.noreply.github.com>
This commit is contained in:
HAOYUatHZ
2023-08-28 11:21:03 +08:00
committed by GitHub
parent 1dfca3b7c0
commit 2bc24be17e

View File

@@ -7,7 +7,7 @@ import (
"strings"
)
var tag = "v4.2.0"
var tag = "v4.2.1"
var commit = func() string {
if info, ok := debug.ReadBuildInfo(); ok {
@@ -72,13 +72,10 @@ func CheckScrollProverVersionTag(proverVersion string) bool {
if err != nil {
return false
}
if remoteTagMajor != 4 {
if remoteTagMajor < 4 {
return false
}
if remoteTagMinor != 1 {
return false
}
if remoteTagPatch < 98 {
if remoteTagMinor == 1 && remoteTagPatch < 98 {
return false
}
return true