Remove TODO - not needed for now

This commit is contained in:
Luke Van Seters 2021-12-22 10:38:22 -05:00
parent 17c9b835ac
commit 22769c9529

View File

@ -93,7 +93,6 @@ def _get_shortest_route(
end_swaps: List[Swap],
all_swaps: List[Swap],
) -> Optional[List[Swap]]:
# TODO - add max length
for end_swap in end_swaps:
if start_swap.token_out_address == end_swap.token_in_address:
return [start_swap, end_swap]