Skip to content

Commit

Permalink
fix keyerror for y_0
Browse files Browse the repository at this point in the history
  • Loading branch information
Lesigh-3100 committed Jun 25, 2024
1 parent 22212fc commit ff2577a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fastlane_bot/events/managers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ff2577a

Please sign in to comment.