Skip to content

Commit

Permalink
Fix LYRA price
Browse files Browse the repository at this point in the history
  • Loading branch information
ethboi committed Aug 4, 2023
1 parent 5f73865 commit 8cf3ebe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/src/integrations/prices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ export async function GetPrices() {
pairs.push(pairArb)
}
// LYRA
const pairLyra = dexLyra.data?.pairs.find((pair) => pair.baseToken.address.toLowerCase() == LYRA_OP.toLowerCase())
const pairLyra = dexLyra.data?.pairs.find(
(pair) => pair.baseToken.address.toLowerCase() == LYRA_OP.toLowerCase() && pair.baseToken.symbol == 'LYRA',
)
if (pairLyra) {
pairs.push(pairLyra)
}
Expand Down

0 comments on commit 8cf3ebe

Please sign in to comment.