From 0ed5a7702e7551747504baacaf7b77117c5e0de3 Mon Sep 17 00:00:00 2001 From: pk910 Date: Fri, 25 Oct 2024 00:03:15 +0200 Subject: [PATCH] fix parsing of validator names for single indexes --- services/validatornames.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/validatornames.go b/services/validatornames.go index 639a58c3..db922956 100644 --- a/services/validatornames.go +++ b/services/validatornames.go @@ -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 {