Skip to content

Commit

Permalink
fix: exchange subscription filter
Browse files Browse the repository at this point in the history
  • Loading branch information
platonfloria committed May 2, 2024
1 parent fcc4978 commit c445c11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastlane_bot/events/listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(
self._last_event_ts = 0

for exchange_name, exchange in self._manager.exchanges.items():
if exchange_name in base_exchanges:
if exchange.base_exchange_name in base_exchanges:
self._subscriptions += exchange.get_subscriptions(self._manager.event_contracts[exchange_name])

async def pull_block_events(self) -> AsyncGenerator[List[Event], None]:
Expand Down

0 comments on commit c445c11

Please sign in to comment.