Skip to content

Commit

Permalink
fix market disable features
Browse files Browse the repository at this point in the history
  • Loading branch information
Tburm committed Aug 2, 2024
1 parent 073c99f commit 0ba9771
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="synthetix",
version="0.1.14",
version="0.1.15",
description="Synthetix protocol SDK",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
Expand Down
3 changes: 2 additions & 1 deletion src/synthetix/perps/constants.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
DISABLED_MARKETS = {
8453: [6300]
8453: [6300],
84532: [6300],
}
2 changes: 1 addition & 1 deletion src/synthetix/perps/perps.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __init__(self, snx, default_account_id: int = None, disabled_markets=None):
if disabled_markets is None and snx.network_id in DISABLED_MARKETS:
self.disabled_markets = DISABLED_MARKETS[snx.network_id]
else:
self.disabled_markets = []
self.disabled_markets = disabled_markets if disabled_markets else []

# check if perps is deployed on this network
if "perpsFactory" in snx.contracts:
Expand Down

0 comments on commit 0ba9771

Please sign in to comment.