Skip to content

Commit

Permalink
linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
F4ever committed Oct 4, 2023
1 parent ed855a0 commit 5ca41a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/ejector/ejector.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ def execute_module(self, last_finalized_blockstamp: BlockStamp) -> ModuleExecute
@lru_cache(maxsize=1)
@duration_meter()
def build_report(self, blockstamp: ReferenceBlockStamp) -> tuple:
last_report_ref_slot = self.w3.lido_contracts.get_ejector_last_processing_ref_slot(blockstamp)
# For metrics only
self.w3.lido_contracts.get_ejector_last_processing_ref_slot(blockstamp)

validators: list[tuple[NodeOperatorGlobalIndex, LidoValidator]] = self.get_validators_to_eject(blockstamp)
logger.info({
'msg': f'Calculate validators to eject. Count: {len(validators)}',
Expand Down

0 comments on commit 5ca41a1

Please sign in to comment.