Skip to content

Commit

Permalink
fix: merkl rewards by official chains
Browse files Browse the repository at this point in the history
  • Loading branch information
gmbronco committed Sep 8, 2024
1 parent 0b8ee04 commit 40f0fae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/actions/aprs/merkl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ const fetchMerklCampaigns = async () => {
})
.flat(2)
.filter((campaign) => campaign.type === 'balancerPool')
.filter((campaign) => campaign.campaignParameters.whitelist.length === 0);
.filter((campaign) => campaign.campaignParameters.whitelist.length === 0)
.filter((campaign) => Object.keys(chainIdToChain).includes(String(campaign.computeChainId)));

return campaigns;
};
Expand Down

0 comments on commit 40f0fae

Please sign in to comment.