Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
alrevuelta committed Apr 23, 2023
1 parent 5331d6d commit 8893a9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions metrics/beaconstate.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ func GetActiveIndexes(
for _, valIdx := range validatorIndexes {
if beaconStateEpoch >= uint64(validators[valIdx].ActivationEpoch) &&
beaconStateEpoch < uint64(validators[valIdx].ExitEpoch) {
activeIndexes = append(activeIndexes, valIdx)
}
}

Expand Down

0 comments on commit 8893a9a

Please sign in to comment.