From 17f5a10fa07836ef834ddcc598b91659a864e8ae Mon Sep 17 00:00:00 2001 From: Gurjot Date: Sun, 1 Dec 2024 15:46:33 +0530 Subject: [PATCH] add todo --- internal/v2/service/stats.go | 1 + 1 file changed, 1 insertion(+) 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")