We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d376461 + b2ab5f1 commit d22096aCopy full SHA for d22096a
src/utils.ts
@@ -1518,7 +1518,9 @@ export function getMarketsAndOracleInfosToLoad(
1518
if (!perpMarketConfig) {
1519
throw new Error(`Perp market config for ${idx} not found`);
1520
}
1521
- const oracleKey = perpMarketConfig.oracle.toBase58();
+ const oracleKey =
1522
+ perpMarketConfig.oracle.toBase58() +
1523
+ getVariant(perpMarketConfig.oracleSource);
1524
if (!oraclesTracked.has(oracleKey)) {
1525
logger.info(`Tracking oracle ${oracleKey} for perp market ${idx}`);
1526
oracleInfos.push({
0 commit comments