diff --git a/validator/accounts/wallet/wallet.go b/validator/accounts/wallet/wallet.go index e2cb0d304ceb..7d19887d8f3d 100644 --- a/validator/accounts/wallet/wallet.go +++ b/validator/accounts/wallet/wallet.go @@ -125,6 +125,7 @@ func IsValid(walletDir string) (bool, error) { f, err := os.Open(expanded) if err != nil { if strings.Contains(err.Error(), "no such file") || + strings.Contains(err.Error(), "cannot find the file") || strings.Contains(err.Error(), "cannot find the path") { return false, nil }