Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(fix) naming get_connector_spec fix #6992

Merged
merged 10 commits into from
Jun 13, 2024
2 changes: 1 addition & 1 deletion hummingbot/client/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def get_connector_spec(connector_name: str, chain: str, network: str) -> Optiona
@staticmethod
def get_connector_spec_from_market_name(market_name: str) -> Optional[Dict[str, str]]:
for chain in SUPPORTED_CHAINS:
if chain in market_name:
if f"_{chain}_" in market_name:
connector, network = market_name.split(f"_{chain}_")
return GatewayConnectionSetting.get_connector_spec(connector, chain, network)
return None
Expand Down