Skip to content

Commit

Permalink
fix: collateral prices (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rickk137 authored Jun 26, 2024
1 parent 55c1a5a commit 8cc461a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ async function getPythFeedIdsFromCollateralList(collateralList: string[]) {
if (collateral === 'WETH') {
symbol = 'ETH';
}
const id = deduped.find((x) => x.symbol === symbol);
const id = deduped.find((x) => x.symbol?.toUpperCase() === symbol.toUpperCase());
return {
collateral,
priceId: id?.priceId,
Expand Down

0 comments on commit 8cc461a

Please sign in to comment.