diff --git a/sources/version.go b/sources/version.go index dbb84dd..c6cbf49 100644 --- a/sources/version.go +++ b/sources/version.go @@ -15,7 +15,7 @@ var ( ) func SelectCosmovisorVersion(binaryPath, homePath, registryUrl, source string, continuationHeight int64) error { - if !strings.HasSuffix(binaryPath, "cosmovisor") { + if !strings.HasSuffix(binaryPath, "cosmovisor") || source == "" { return nil }