Skip to content

Commit 06f9fa2

Browse files
revert min_publishers check (#83)
1 parent 7abc071 commit 06f9fa2

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ignore_missing_imports = true
44

55
[tool.poetry]
66
name = "pyth-observer"
7-
version = "0.3.1"
7+
version = "0.3.2"
88
description = "Alerts and stuff"
99
authors = []
1010
readme = "README.md"

pyth_observer/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,6 @@ async def run(self):
9191
states = []
9292
price_accounts = await self.get_pyth_prices(product)
9393

94-
# If the min_publishers is set to 255, this is a "coming soon" feed and is not live yet
95-
# Skip alerting on these feeds
96-
if product.prices[PythPriceType.PRICE].min_publishers == 255:
97-
continue
98-
9994
crosschain_price = crosschain_prices.get(
10095
b58decode(product.first_price_account_key.key).hex(), None
10196
)

0 commit comments

Comments
 (0)