Skip to content

Commit

Permalink
cmd: review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gsora committed May 31, 2024
1 parent e0a2f79 commit 0f3c88f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/exit_sign.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func newSubmitPartialExitCmd(runFunc func(context.Context, exitConfig) error) *c

if strings.TrimSpace(config.ValidatorPubkey) == "" && !valIdxPresent {
//nolint:revive // we use our own version of the errors package.
return errors.New(fmt.Sprintf("%s or %s must be specified.", validatorIndex.String(), validatorPubkey.String()))
return errors.New(fmt.Sprintf("either %s or %s must be specified at least.", validatorIndex.String(), validatorPubkey.String()))
}

Check warning on line 65 in cmd/exit_sign.go

View check run for this annotation

Codecov / codecov/patch

cmd/exit_sign.go#L58-L65

Added lines #L58 - L65 were not covered by tests

config.ValidatorIndexPresent = valIdxPresent
Expand Down

0 comments on commit 0f3c88f

Please sign in to comment.