Skip to content

Commit

Permalink
Merge pull request #2552 from gobitfly/BIDS-2472/follow_up
Browse files Browse the repository at this point in the history
(BIDS-2472) fix linter
  • Loading branch information
peterbitfly authored Sep 14, 2023
2 parents 116da01 + dcb6044 commit 828823c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ func DashboardDataEffectiveness(w http.ResponseWriter, r *http.Request) {
epoch = epoch - 1
}

effectiveness, err := db.BigtableClient.GetValidatorEffectiveness(activeValidators, services.LatestEpoch()-1)
effectiveness, err := db.BigtableClient.GetValidatorEffectiveness(activeValidators, epoch)
for _, e := range effectiveness {
avgIncDistance = append(avgIncDistance, e.AttestationEfficiency)
}
Expand Down

0 comments on commit 828823c

Please sign in to comment.