From db9b483f0d84469d1d28bd3eb114fb808621ba75 Mon Sep 17 00:00:00 2001 From: 0xngmi <0xngmi@protonmail.com> Date: Mon, 19 Aug 2024 00:10:45 +0100 Subject: [PATCH] fix --- projects/icpswap/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/icpswap/index.js b/projects/icpswap/index.js index e0cfff7225b3..294d40baefd4 100644 --- a/projects/icpswap/index.js +++ b/projects/icpswap/index.js @@ -17,7 +17,7 @@ async function tvl() { .for(pairs) .process(async ({ pool_id }) => { const res = await get(`https://uvevg-iyaaa-aaaak-ac27q-cai.raw.ic0.app/pool_tvl?poolId=${pool_id}&limit=1`) - if (res.length > 0) + if (res.length > 0 && res[0].tvlUSD < 100e6) tvl += +res[0].tvlUSD })