Skip to content

Commit

Permalink
Remove unused return-value
Browse files Browse the repository at this point in the history
  • Loading branch information
barak manos authored and platonfloria committed May 13, 2024
1 parent 827dadc commit ce98319
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions fastlane_bot/modes/triangle_multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def get_combos(self, flashloan_tokens: List[str], CCm: Any, arb_mode: str) -> Tu
if len(x_match_curves_not_carbon) == 0:
continue
if len(base_direction_one) > 0:
combos = get_miniverse(
get_miniverse(
y_match_curves_not_carbon,
base_direction_one,
x_match_curves_not_carbon,
Expand All @@ -104,7 +104,7 @@ def get_combos(self, flashloan_tokens: List[str], CCm: Any, arb_mode: str) -> Tu
combos,
)
if len(base_direction_two) > 0:
combos = get_miniverse(
get_miniverse(
y_match_curves_not_carbon,
base_direction_two,
x_match_curves_not_carbon,
Expand All @@ -121,7 +121,7 @@ def get_miniverse(
flt: str,
arb_mode: str,
combos: List[Any],
) -> List[Any]:
):
"""
Get miniverse for triangular arbitrage
Expand All @@ -140,11 +140,6 @@ def get_miniverse(
combos : list
List of combos
Returns
-------
combos : list
List of combos
"""
if arb_mode in ["single_triangle", "triangle"]:
miniverses = list(
Expand All @@ -163,4 +158,3 @@ def get_miniverse(
]
if miniverses:
combos += list(zip([flt] * len(miniverses), miniverses))
return combos

0 comments on commit ce98319

Please sign in to comment.