Skip to content

Commit 212e656

Browse files
committed
add comment
1 parent 13763ac commit 212e656

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyth_observer/dispatch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ def check_publisher(self, state: PublisherState) -> List[Check]:
165165
offline_check_passed = True
166166
check_state = check.state()
167167
distance = check_state.latest_block_slot - check_state.slot
168+
# If the offline check passed, check if the abandoned slot distance is exceeded only if the market is open
168169
if (
169170
check.market_open()
170171
and distance > check.abandoned_slot_distance()

0 commit comments

Comments
 (0)