diff --git a/src/services/staking/staking-rewards.service.ts b/src/services/staking/staking-rewards.service.ts index ca77962e1f..14fa036444 100644 --- a/src/services/staking/staking-rewards.service.ts +++ b/src/services/staking/staking-rewards.service.ts @@ -99,6 +99,11 @@ export class StakingRewardsService { .times(_gaugeTotalSupply) .div(_userGaugeBalance) ); + + if (boost.isNaN()) { + return '1'; + } + const minBoost = bnum(2.5).lt(boost) ? 2.5 : boost; return minBoost.toString();