Skip to content

Commit

Permalink
Merge pull request #302 from bnb-chain/wenty/aggregator
Browse files Browse the repository at this point in the history
fix: Fix token price issue
  • Loading branch information
wenty22 authored Jan 24, 2025
2 parents 1ce77ba + a9738d2 commit a2c8c0e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export class TokenService {

const cmcPrices = await this.cache.get(`${CACHE_KEY.CMC_CONFIG_V2}`);
const llamaPrices = await this.cache.get(`${CACHE_KEY.CMC_CONFIG_V2}`);
const key = `${chainId}:${tokenSymbol}`;
const key = `1:${tokenSymbol}`;

return cmcPrices?.[key] ?? llamaPrices?.[key];
}
Expand Down

0 comments on commit a2c8c0e

Please sign in to comment.