Skip to content

Commit

Permalink
angle fix
Browse files Browse the repository at this point in the history
  • Loading branch information
slasher125 committed May 23, 2023
1 parent 8b9e874 commit db625a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adaptors/angle/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const cdpData = async () => {
const main = async () => {
const apy = await getPoolsData();
const cdp = await cdpData();
return [...apy, ...cdp];
return [...apy, ...cdp].filter((p) => utils.keepFinite(p));
};

module.exports = {
Expand Down

0 comments on commit db625a7

Please sign in to comment.