No need for typevar

This commit is contained in:
Luke Van Seters 2022-01-18 11:30:32 -05:00
parent 091ddbd9c1
commit 85d90e3c6b

View File

@ -1,6 +1,6 @@
import asyncio import asyncio
import logging import logging
from typing import List, Optional, TypeVar from typing import List, Optional
from sqlalchemy import orm from sqlalchemy import orm
from web3 import Web3 from web3 import Web3
@ -12,7 +12,6 @@ from mev_inspect.schemas.traces import Trace, TraceType
from mev_inspect.utils import hex_to_int from mev_inspect.utils import hex_to_int
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
T = TypeVar("T")
async def get_latest_block_number(base_provider) -> int: async def get_latest_block_number(base_provider) -> int: