From c67fc8e8c2a46ec1d492a1a978ea1f5779f420bc Mon Sep 17 00:00:00 2001 From: Tejas Badadare Date: Tue, 3 Dec 2024 12:56:06 -0800 Subject: [PATCH] revert min_publishers check --- pyproject.toml | 2 +- pyth_observer/__init__.py | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b55868d..0b0cf64 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ ignore_missing_imports = true [tool.poetry] name = "pyth-observer" -version = "0.3.1" +version = "0.3.2" description = "Alerts and stuff" authors = [] readme = "README.md" diff --git a/pyth_observer/__init__.py b/pyth_observer/__init__.py index 1a520aa..79d8fc0 100644 --- a/pyth_observer/__init__.py +++ b/pyth_observer/__init__.py @@ -91,11 +91,6 @@ async def run(self): states = [] price_accounts = await self.get_pyth_prices(product) - # If the min_publishers is set to 255, this is a "coming soon" feed and is not live yet - # Skip alerting on these feeds - if product.prices[PythPriceType.PRICE].min_publishers == 255: - continue - crosschain_price = crosschain_prices.get( b58decode(product.first_price_account_key.key).hex(), None )