diff --git a/lib/cosmosV2-source.js b/lib/cosmosV2-source.js index 7be37416fb..9ce86cdfbd 100644 --- a/lib/cosmosV2-source.js +++ b/lib/cosmosV2-source.js @@ -78,10 +78,10 @@ class CosmosV2API extends CosmosV0API { `distribution/delegators/${delegatorAddress}/rewards` ) return (result.rewards || []) - .filter(({ rewards }) => rewards && rewards.length > 0) - .map(({ rewards, validator_address }) => + .filter(({ reward }) => reward && reward.length > 0) + .map(({ reward, validator_address }) => this.reducers.rewardReducer( - rewards[0], + reward[0], validatorsDictionary[validator_address] ) )