Skip to content

Commit

Permalink
Fix 'Namespace' object has no attribute 'explorer'
Browse files Browse the repository at this point in the history
  • Loading branch information
upnodedev authored and norswap committed Oct 19, 2023
1 parent 969eabc commit 8883040
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roll.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,13 +373,13 @@ def main():
elif lib.args.command == "start-l2":
config.deployments = lib.read_json_file(config.paths.addresses_json_path)
l2.start(config)
if lib.args.explorer:
if hasattr(lib.args, "explorer") and lib.args.explorer:
block_explorer.launch_blockscout()
PROCESS_MGR.wait_all()

elif lib.args.command == "l2-engine":
l2_engine.start(config)
if lib.args.explorer:
if hasattr(lib.args, "explorer") and lib.args.explorer:
block_explorer.launch_blockscout()
PROCESS_MGR.wait_all()

Expand Down

0 comments on commit 8883040

Please sign in to comment.