Skip to content

Commit

Permalink
gosimple fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cihati committed Oct 2, 2023
1 parent 7f6575e commit 0231f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http/validators.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (s *Service) Validators(ctx context.Context, stateID string, validatorIndic
if len(validatorStates) != 0 {
states := make([]string, len(validatorStates))
for i := range validatorStates {
states[i] = fmt.Sprintf("%s", validatorStates[i])
states[i] = validatorStates[i].String()
}
if len(validatorIndices) != 0 {
url = fmt.Sprintf("%s&status=%s", url, strings.Join(states, ","))
Expand Down

0 comments on commit 0231f94

Please sign in to comment.