From e70b131014a921f9dfbbb1cad9343117679cf2d3 Mon Sep 17 00:00:00 2001 From: slasher125 Date: Thu, 9 May 2024 16:09:37 +0400 Subject: [PATCH] remove robo vault --- src/adaptors/return-finance/index.js | 8 +++++++- src/utils/exclude.js | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/adaptors/return-finance/index.js b/src/adaptors/return-finance/index.js index 95ceeaf905..6fa6e60552 100644 --- a/src/adaptors/return-finance/index.js +++ b/src/adaptors/return-finance/index.js @@ -68,7 +68,13 @@ const getApy = async () => { chain: 'ethereum', }); - return [aavePolygon, aaveAvalanche, compoundV3Base, makerDao, convexFinance]; + return [ + aavePolygon, + aaveAvalanche, + compoundV3Base, + makerDao, + convexFinance, + ].filter((i) => utils.keepFinite(i)); }; module.exports = { diff --git a/src/utils/exclude.js b/src/utils/exclude.js index e098678501..6bd6ec9497 100644 --- a/src/utils/exclude.js +++ b/src/utils/exclude.js @@ -92,6 +92,7 @@ const excludeAdaptors = [ 'mycelium-perpetual-swaps', 'lyra-v1', 'reflexer', + 'robo-vault', ]; const excludePools = [