diff --git a/src/dlob-subscriber/DLOBSubscriberIO.ts b/src/dlob-subscriber/DLOBSubscriberIO.ts index cbae41e..31cc782 100644 --- a/src/dlob-subscriber/DLOBSubscriberIO.ts +++ b/src/dlob-subscriber/DLOBSubscriberIO.ts @@ -343,7 +343,7 @@ export class DLOBSubscriberIO extends DLOBSubscriber { const dlobSlot = this.slotSource.getSlot(); const oracleData = marketType === 'perp' - ? this.driftClient.getOracleDataForPerpMarket(marketArgs.marketIndex) + ? this.driftClient.getMMOracleDataForPerpMarket(marketArgs.marketIndex) : this.driftClient.getOracleDataForSpotMarket(marketArgs.marketIndex); const oracleSlot = oracleData.slot; const isPerpMarketAndPrelaunchMarket =