Skip to content

Commit

Permalink
feat: fill rewards field in dashboard group summary
Browse files Browse the repository at this point in the history
See: BEDS-1065
  • Loading branch information
LuccaBitfly committed Jan 14, 2025
1 parent a04592f commit e21dcbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/pkg/api/data_access/vdb_summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ func (d *DataAccessService) GetValidatorDashboardGroupSummary(ctx context.Contex
ret.MissedRewards.Sync = utils.GWeiToWei(big.NewInt(totalMissedRewardsSync))
ret.MissedRewards.ProposerRewards.Cl = utils.GWeiToWei(big.NewInt(totalMissedRewardsCl))

_, ret.Apr.El, _, ret.Apr.Cl, err = d.getElClAPR(ctx, dashboardId, groupId, hours)
ret.Rewards.El, ret.Apr.El, ret.Rewards.Cl, ret.Apr.Cl, err = d.getElClAPR(ctx, dashboardId, groupId, hours)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit e21dcbc

Please sign in to comment.