diff --git a/lib/reducers/emoneyV0-reducers.js b/lib/reducers/emoneyV0-reducers.js index af3a24d816..5ea7143291 100644 --- a/lib/reducers/emoneyV0-reducers.js +++ b/lib/reducers/emoneyV0-reducers.js @@ -31,11 +31,13 @@ async function getTotalNetworkAnnualRewards(inflations, totalBackedValues) { 'denom' ) const rewardsSumInEur = inflations.reduce((sum, inflation) => { - return BigNumber(sum).plus( - BigNumber(inflation.inflation).times( - totalBackedValueDictionary[inflation.denom].eurValue // we use the eur value to be able to sum up the individual token values - ) - ) + return totalBackedValueDictionary[inflation.denom] + ? BigNumber(sum).plus( + BigNumber(inflation.inflation).times( + totalBackedValueDictionary[inflation.denom].eurValue // we use the eur value to be able to sum up the individual token values + ) + ) + : 0 }, 0) return rewardsSumInEur