Validator/node: update warn log to error (#6945)

This commit is contained in:
terence tsao 2020-08-09 17:27:23 -07:00 committed by GitHub
parent b241fafd13
commit 6d5b7b0439
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,7 +105,7 @@ func NewValidatorClient(cliCtx *cli.Context) (*ValidatorClient, error) {
return nil, err
}
if len(pubKeys) == 0 {
log.Warn("No keys found; nothing to validate")
log.Error("No keys found. Please verify `--keystore-path` is the correct path")
} else {
log.WithField("validators", len(pubKeys)).Debug("Found validator keys")
for _, key := range pubKeys {