disable market slot kill switch

This commit is contained in:
Nour Alharithi
2024-01-23 14:05:42 -08:00
parent 65a6f38e31
commit 18ae1b7c9b

View File

@@ -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}