Skip to content

Commit

Permalink
fix: take network name from config
Browse files Browse the repository at this point in the history
  • Loading branch information
platonfloria committed May 21, 2024
1 parent 39756f1 commit 9f56e92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def run(mgr, args, tenderly_uri=None) -> None:
handle_static_pools_update(mgr)

event_gatherer = EventGatherer(
blockchain=args.blockchain,
blockchain=mgr.cfg.network.NETWORK,
w3=mgr.w3_async,
exchanges=mgr.exchanges,
event_contracts=mgr.event_contracts
Expand Down

0 comments on commit 9f56e92

Please sign in to comment.