File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ ignore_missing_imports = true
4
4
5
5
[tool .poetry ]
6
6
name = " pyth-observer"
7
- version = " 0.3.0 "
7
+ version = " 0.3.1 "
8
8
description = " Alerts and stuff"
9
9
authors = []
10
10
readme = " README.md"
Original file line number Diff line number Diff line change @@ -90,6 +90,12 @@ async def run(self):
90
90
# for each publisher).
91
91
states = []
92
92
price_accounts = await self .get_pyth_prices (product )
93
+
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
+
93
99
crosschain_price = crosschain_prices .get (
94
100
b58decode (product .first_price_account_key .key ).hex (), None
95
101
)
You can’t perform that action at this time.
0 commit comments