Skip to content

Commit

Permalink
fix thalaswap yields (#1604)
Browse files Browse the repository at this point in the history
  • Loading branch information
LawsonGraham authored Nov 14, 2024
1 parent d5f5bca commit 83b4d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adaptors/thalaswap/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async function main() {

tvlArr = [];
for (const pool of filteredPools) {
const liquidityPool = (await utils.getData(`${THALA_POOL_API_URL}?pool-type=` + pool.poolType))
const liquidityPool = (await utils.getData(`${THALA_POOL_API_URL}?pool-type=` + pool.metadata.type))
?.data;

const swapFeesApr = liquidityPool.apr.find(item => item.source === 'Swap Fees')?.apr;
Expand Down

0 comments on commit 83b4d07

Please sign in to comment.