Skip to content

Commit

Permalink
Merge pull request #161 from ethpandaops/pk910/fix-validator-names
Browse files Browse the repository at this point in the history
fix parsing of validator names for single indexes
  • Loading branch information
pk910 authored Oct 28, 2024
2 parents 905ef45 + 0ed5a77 commit 301eadc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/validatornames.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ func (vn *ValidatorNames) parseNamesMap(names map[string]string) int {
if err != nil {
continue
}
maxIdx := minIdx + 1
maxIdx := minIdx
if len(rangeParts) > 1 {
maxIdx, err = strconv.ParseUint(rangeParts[1], 10, 64)
if err != nil {
Expand Down

0 comments on commit 301eadc

Please sign in to comment.