diff --git a/src/tokenPriceOracle.ts b/src/tokenPriceOracle.ts index d75b4c6..823b6fd 100644 --- a/src/tokenPriceOracle.ts +++ b/src/tokenPriceOracle.ts @@ -46,7 +46,7 @@ export class TokenPriceOracle { return prices.reduce((acc, price, index) => { const tokenPriceInwei = (price * BigInt(10 ** tokens[index].decimals)) / BigInt(10 ** 18); - acc[tokens[index].symbol] = tokenPriceInwei.toString(); + acc[tokens[index].symbol.toLowerCase()] = tokenPriceInwei.toString(); return acc; }, {} as TokenPrices);