From 6eb95323fe10932c796afdb87e4cb0edb184d70f Mon Sep 17 00:00:00 2001 From: Nour Alharithi Date: Tue, 23 Jan 2024 14:04:46 -0800 Subject: [PATCH] remove market check --- src/dlob-subscriber/DLOBSubscriberIO.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/dlob-subscriber/DLOBSubscriberIO.ts b/src/dlob-subscriber/DLOBSubscriberIO.ts index 87aa4a9..97b063f 100644 --- a/src/dlob-subscriber/DLOBSubscriberIO.ts +++ b/src/dlob-subscriber/DLOBSubscriberIO.ts @@ -145,9 +145,7 @@ export class DLOBSubscriberIO extends DLOBSubscriber { if ( Math.abs(slot - parseInt(l2Formatted['oracleData']['slot'])) > - this.killSwitchSlotDiffThreshold || - Math.abs(slot - l2Formatted['marketSlot']) > - this.killSwitchSlotDiffThreshold + this.killSwitchSlotDiffThreshold ) { console.log(`Killing process due to slot diffs for market ${marketName}: dlobProvider slot: ${slot}