Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cctdaniel committed May 17, 2024
1 parent 13763ac commit 212e656
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyth_observer/dispatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ def check_publisher(self, state: PublisherState) -> List[Check]:
offline_check_passed = True
check_state = check.state()
distance = check_state.latest_block_slot - check_state.slot
# If the offline check passed, check if the abandoned slot distance is exceeded only if the market is open
if (
check.market_open()
and distance > check.abandoned_slot_distance()
Expand Down

0 comments on commit 212e656

Please sign in to comment.