From 2e0ada6e8fdbd899a074465270ab67089d28f0e2 Mon Sep 17 00:00:00 2001 From: barak manos <> Date: Mon, 27 May 2024 20:14:16 +0300 Subject: [PATCH] Minor --- fastlane_bot/modes/base.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fastlane_bot/modes/base.py b/fastlane_bot/modes/base.py index 2091beb49..b7cbb79c9 100644 --- a/fastlane_bot/modes/base.py +++ b/fastlane_bot/modes/base.py @@ -21,8 +21,7 @@ def __init__(self, flashloan_tokens, CCm, ConfigObj): self.flashloan_tokens = flashloan_tokens self.CCm = CCm self.ConfigObj = ConfigObj - self.exchanges = ["bancor_v2", "bancor_v3"] + ConfigObj.UNI_V2_FORKS + ConfigObj.UNI_V3_FORKS - self.sort_order = {key: index for index, key in enumerate(self.exchanges)} + self.sort_order = {key: index for index, key in enumerate(["bancor_v2", "bancor_v3"] + ConfigObj.UNI_V2_FORKS + ConfigObj.UNI_V3_FORKS)} def find_combos(self) -> List[Any]: return self.find_arbitrage()["combos"]