Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Removed spurious warning - it's fine for a MarketLookup to not find w…
Browse files Browse the repository at this point in the history
…hat it's looking for and return None.
  • Loading branch information
Geoff Taylor committed Mar 4, 2022
1 parent 24b5579 commit 172b647
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mango/serummarketlookup.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ def find_by_symbol(self, symbol: str) -> typing.Optional[Market]:
base_symbol, quote_symbol = symbol.split("/")
base_data = SerumMarketLookup._find_data_by_symbol(base_symbol, self.token_data)
if base_data is None:
self._logger.warning(f"Could not find data for base token '{base_symbol}'")
return None
base = Token(
base_data["symbol"],
Expand Down

0 comments on commit 172b647

Please sign in to comment.