Skip to content

Commit

Permalink
fix: explorer not initializing (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickAlphaC committed Oct 26, 2024
1 parent 7bb9b71 commit 479bf0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions moccasin/commands/explorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import boa

from moccasin.config import Network, get_config
from moccasin.config import Network, get_or_initialize_config
from moccasin.constants.vars import (
DEFAULT_API_KEY_ENV_VAR,
DEFAULT_NETWORKS_BY_CHAIN_ID,
Expand Down Expand Up @@ -55,7 +55,7 @@ def boa_get_abi_from_explorer(
network: Network | None = None
# 1. If not ignore_config, grab stuff from the config
if not ignore_config:
config = get_config()
config = get_or_initialize_config()
if network_name_or_id:
network = config.networks.get_network(network_name_or_id)
network = cast(Network, network)
Expand Down

0 comments on commit 479bf0b

Please sign in to comment.