Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu committed Jun 7, 2024
1 parent ac8263c commit 7749dbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uniswap_sdk/universal_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from ape.api import ReceiptAPI, TransactionAPI
from ape.contracts import ContractInstance
from ape.exceptions import DecodingError
from ape.managers import ManagerAccessMixin, ProjectManager
from ape.managers import ManagerAccessMixin
from ape.utils import StructParser, cached_property
from ape_ethereum.ecosystem import parse_type
from eth_abi import decode as abi_decode
Expand Down Expand Up @@ -124,7 +124,7 @@ def encode_path(path: list) -> bytes:


def decode_path(path: bytes) -> list:
decoded_path = []
decoded_path: list[Union[str, int]] = []
decoded_type = cycle(["address", "uint24"])
while len(path) > 0:
t = next(decoded_type)
Expand Down

0 comments on commit 7749dbf

Please sign in to comment.