Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
change gateways variable to custom_gateways
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-fleming committed Dec 12, 2022
1 parent ecf66a8 commit 1fa494a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nile/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ def get_gateways():
"""Get the StarkNet node details."""
if os.path.exists(NODE_FILENAME):
with open(NODE_FILENAME, "r") as f:
gateway = json.load(f)
gateways = {**DEFAULT_GATEWAYS, **gateway}
custom_gateways = json.load(f)
gateways = {**DEFAULT_GATEWAYS, **custom_gateways}
return gateways
else:
return DEFAULT_GATEWAYS
Expand Down

0 comments on commit 1fa494a

Please sign in to comment.