Skip to content

Commit

Permalink
Fix _fetch_outdated_indexes (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeny-stakewise authored Mar 5, 2024
1 parent e8f111c commit fa55bf2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/exits/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ async def _fetch_outdated_indexes(oracles: Oracles, update_block: BlockNumber |
except (ClientError, RetryError) as e:
warning_verbose(str(e))
continue
if response['exit_signature_block_number'] is None:
continue
if not update_block or response['exit_signature_block_number'] >= update_block:
outdated_indexes = [val['index'] for val in response['validators']]
metrics.outdated_signatures.set(len(outdated_indexes))
Expand Down

0 comments on commit fa55bf2

Please sign in to comment.