Skip to content

Commit

Permalink
Merge pull request hummingbot#3177 from CoinAlpha/fix/v0.38_conflict
Browse files Browse the repository at this point in the history
fix / conflicting file in VERSION
  • Loading branch information
dennisocana authored Apr 6, 2021
2 parents d602dd6 + 98d65f7 commit 74fef02
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion hummingbot/client/config/config_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def get_erc20_token_addresses() -> Dict[str, List]:
address_file_path = TOKEN_ADDRESSES_FILE_PATH
token_list = {}

resp = requests.get(token_list_url, timeout=1)
resp = requests.get(token_list_url, timeout=3)
decoded_resp = resp.json()

for token in decoded_resp["tokens"]:
Expand Down
4 changes: 0 additions & 4 deletions hummingbot/core/utils/trading_pair_fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,4 @@ async def fetch_all(self):

results = await safe_gather(*tasks, return_exceptions=True)
self.trading_pairs = dict(zip(fetched_connectors, results))
# In case trading pair fetching returned timeout, using empty list
for connector, result in self.trading_pairs.items():
if isinstance(result, asyncio.TimeoutError):
self.trading_pairs[connector] = []
self.ready = True

0 comments on commit 74fef02

Please sign in to comment.