We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 43ab2f7 + 9f58020 commit b23f99eCopy full SHA for b23f99e
src/bots/pythCranker.ts
@@ -19,7 +19,6 @@ import {
19
getPythPullOraclePublicKey,
20
getVariant,
21
isOneOfVariant,
22
- isVariant,
23
ONE,
24
OracleClient,
25
OracleSource,
@@ -176,7 +175,7 @@ export class PythCrankerBot implements Bot {
176
175
logger.warn(`No perp market for market ${marketConfig.symbol}`);
177
continue;
178
}
179
- if (isVariant(perpMarket.status, 'delisted')) {
+ if (isOneOfVariant(perpMarket.status, ['delisted', 'settlement'])) {
180
logger.warn(`Skipping perp market ${marketConfig.symbol} is delisted`);
181
182
0 commit comments