Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0xngmi committed Aug 18, 2024
1 parent bd0f65d commit db9b483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/icpswap/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
})

Expand Down

0 comments on commit db9b483

Please sign in to comment.