diff --git a/internal/v2/service/stats.go b/internal/v2/service/stats.go index 9894489..2e3e0cb 100644 --- a/internal/v2/service/stats.go +++ b/internal/v2/service/stats.go @@ -41,6 +41,7 @@ func (s *V2Service) GetOverallStats(ctx context.Context) (*OverallStatsPublic, * return nil, types.NewInternalServiceError(err) } + // TODO: ideally this should not be fetched from the indexer db finalityProviders, err := s.DbClients.IndexerDBClient.GetFinalityProviders(ctx) if err != nil { log.Ctx(ctx).Error().Err(err).Msg("error while fetching finality providers")