From 18ae1b7c9b2ff9b8db220a8547735c5a6cb28087 Mon Sep 17 00:00:00 2001 From: Nour Alharithi Date: Tue, 23 Jan 2024 14:05:42 -0800 Subject: [PATCH] disable market slot kill switch --- 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}