Skip to content

Commit

Permalink
(NOBIDS) Use ClConfig instead of Config (#2621)
Browse files Browse the repository at this point in the history
  • Loading branch information
D13ce authored Oct 18, 2023
1 parent 6b3fd12 commit db81911
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions handlers/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -1246,8 +1246,8 @@ func getSyncCommitteeSlotsStatistics(validators []uint64, epoch uint64) (types.S
}

// get sync stats from bigtable
startSlot := (lastExportedEpoch + 1) * utils.Config.Chain.Config.SlotsPerEpoch
endSlot := epoch*utils.Config.Chain.Config.SlotsPerEpoch + utils.Config.Chain.Config.SlotsPerEpoch - 1
startSlot := (lastExportedEpoch + 1) * utils.Config.Chain.ClConfig.SlotsPerEpoch
endSlot := epoch*utils.Config.Chain.ClConfig.SlotsPerEpoch + utils.Config.Chain.ClConfig.SlotsPerEpoch - 1

res, err := db.BigtableClient.GetValidatorSyncDutiesHistory(vs, startSlot, endSlot)
if err != nil {
Expand Down

0 comments on commit db81911

Please sign in to comment.