We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6664f3 commit 73b2f0cCopy full SHA for 73b2f0c
backend/pkg/api/handlers/validator_dashboard.go
@@ -637,7 +637,7 @@ func (h *HandlerService) GetTruncatedGuestValidatorDashboard(ctx context.Context
637
var totalBalance decimal.Decimal
638
for _, index := range slices.Sorted(maps.Keys(effectiveBalancesMap)) { // iterate over ascending order of indices
639
totalBalance = totalBalance.Add(utils.GWeiToWei(big.NewInt(int64(effectiveBalancesMap[index]))))
640
- if totalBalance.GreaterThanOrEqual(perks.EffectiveBalancePerDashboard) {
+ if totalBalance.GreaterThan(perks.EffectiveBalancePerDashboard) {
641
break
642
}
643
truncatedValidators = append(truncatedValidators, index)
0 commit comments