Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
mypy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
harisang committed Nov 23, 2024
1 parent 17c69f2 commit 616918b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sync/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ def compute_block_and_month_range( # pylint: disable=too-many-locals

latest_finalized_block = node.eth.get_block("finalized")

current_month_end_block = latest_finalized_block.number
current_month_end_timestamp = latest_finalized_block.timestamp
current_month_end_block = latest_finalized_block["number"]
current_month_end_timestamp = latest_finalized_block["timestamp"]

current_month_end_datetime = datetime.fromtimestamp(
current_month_end_timestamp, tz=timezone.utc
Expand Down

0 comments on commit 616918b

Please sign in to comment.