diff --git a/src/utils.ts b/src/utils.ts index f335c537..f782da7d 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -1518,7 +1518,9 @@ export function getMarketsAndOracleInfosToLoad( if (!perpMarketConfig) { throw new Error(`Perp market config for ${idx} not found`); } - const oracleKey = perpMarketConfig.oracle.toBase58(); + const oracleKey = + perpMarketConfig.oracle.toBase58() + + getVariant(perpMarketConfig.oracleSource); if (!oraclesTracked.has(oracleKey)) { logger.info(`Tracking oracle ${oracleKey} for perp market ${idx}`); oracleInfos.push({