Skip to content

Commit

Permalink
fix: merkl rewards by official chains (#911)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmbronco authored Sep 8, 2024
1 parent 0b8ee04 commit ae965db
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 ae965db

Please sign in to comment.