Skip to content

Commit 94554b0

Browse files
committed
fix(api): copy&paste errors
1 parent d97b172 commit 94554b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/pkg/api/data_access/vdb_summary.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ func (d *DataAccessService) GetValidatorDashboardSummary(ctx context.Context, da
197197
Select(
198198
goqu.SUM(goqu.I("value")).As("el_rewards")).
199199
From(goqu.I("execution_rewards_finalized").As("b")).
200-
Where(goqu.L("b.epoch >= ? AND b.epoch <= ? AND b.status = '1'", epochMin, epochMax)).
200+
Where(goqu.L("b.epoch >= ? AND b.epoch <= ?", epochMin, epochMax)).
201201
GroupBy(goqu.L("result_group_id"))
202202

203203
if len(validators) > 0 {
@@ -919,7 +919,7 @@ func (d *DataAccessService) internal_getElClAPR(ctx context.Context, dashboardId
919919

920920
elDs := goqu.Dialect("postgres").
921921
Select(goqu.SUM(goqu.I("value"))).
922-
From(goqu.I("execution_rewards_finalized")).As("b")
922+
From(goqu.I("execution_rewards_finalized").As("b"))
923923

924924
if len(dashboardId.Validators) > 0 {
925925
elDs = elDs.

0 commit comments

Comments
 (0)