diff --git a/fastlane_bot/events/managers/base.py b/fastlane_bot/events/managers/base.py index ca6361fbd..5cd2708ed 100644 --- a/fastlane_bot/events/managers/base.py +++ b/fastlane_bot/events/managers/base.py @@ -574,8 +574,8 @@ def get_strats_by_state(self, pairs: List[List[Any]], exchange_name: str) -> Lis pool["cid"] for pool in self.pool_data if pool["exchange_name"] == exchange_name - and (pool["tkn0_address"], pool["tkn1_address"]) in pairs - or (pool["tkn1_address"], pool["tkn0_address"]) in pairs + and ((pool["tkn0_address"], pool["tkn1_address"]) in pairs + or (pool["tkn1_address"], pool["tkn0_address"]) in pairs) ] strategies = [] for cid in cids: