Skip to content

Commit

Permalink
remove market check
Browse files Browse the repository at this point in the history
  • Loading branch information
NourAlharithi committed Jan 23, 2024
1 parent 1726f9e commit 6eb9532
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/dlob-subscriber/DLOBSubscriberIO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 6eb9532

Please sign in to comment.