Skip to content

Commit

Permalink
one more list typing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fhenneke committed Oct 4, 2024
1 parent b92c7b0 commit 873af06
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/transaction_processor.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import time
from hexbytes import HexBytes
from web3 import Web3
from typing import List
from src.helpers.blockchain_data import BlockchainData
from src.helpers.database import Database
from src.imbalances_script import RawTokenImbalances
Expand Down Expand Up @@ -192,7 +191,7 @@ def process_prices_for_tokens(
token_imbalances: dict[str, int],
block_number: int,
tx_hash: str,
) -> dict[str, List[tuple[float, str]]]:
) -> dict[str, list[tuple[float, str]]]:
"""Compute prices for tokens with non-null imbalances."""
prices = {}
try:
Expand Down Expand Up @@ -291,7 +290,7 @@ def handle_fees(

def handle_prices(
self,
prices: dict[str, List[tuple[float, str]]],
prices: dict[str, list[tuple[float, str]]],
tx_hash: str,
block_number: int,
) -> None:
Expand Down

0 comments on commit 873af06

Please sign in to comment.