Remove instance checks
This commit is contained in:
parent
327695c56c
commit
977a72839e
@ -2,7 +2,6 @@ from typing import List, Optional, Tuple
|
|||||||
|
|
||||||
from mev_inspect.schemas.liquidations import Liquidation
|
from mev_inspect.schemas.liquidations import Liquidation
|
||||||
from mev_inspect.schemas.traces import (
|
from mev_inspect.schemas.traces import (
|
||||||
CallTrace,
|
|
||||||
Classification,
|
Classification,
|
||||||
ClassifiedTrace,
|
ClassifiedTrace,
|
||||||
DecodedCallTrace,
|
DecodedCallTrace,
|
||||||
@ -71,8 +70,6 @@ def _get_received_data(
|
|||||||
|
|
||||||
for child in child_traces:
|
for child in child_traces:
|
||||||
|
|
||||||
if isinstance(child, CallTrace):
|
|
||||||
|
|
||||||
child_transfer: Optional[Transfer] = get_transfer(child)
|
child_transfer: Optional[Transfer] = get_transfer(child)
|
||||||
|
|
||||||
if child_transfer is not None:
|
if child_transfer is not None:
|
||||||
@ -91,8 +88,6 @@ def _get_debt_data(
|
|||||||
|
|
||||||
for child in child_traces:
|
for child in child_traces:
|
||||||
|
|
||||||
if isinstance(child, CallTrace):
|
|
||||||
|
|
||||||
child_transfer: Optional[Transfer] = get_transfer(child)
|
child_transfer: Optional[Transfer] = get_transfer(child)
|
||||||
|
|
||||||
if child_transfer is not None:
|
if child_transfer is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user