Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/bots/makerBidAskTwapCrank.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export class MakerBidAskTwapCrank implements Bot {
private watchdogTimerLastPatTime = Date.now();
private pythPriceSubscriber?: PythPriceFeedSubscriber;
private pythPullOracleClient: PythPullClient;
private pythHealthy: boolean = true;
private pythHealthy = true;
private lookupTableAccounts: AddressLookupTableAccount[];

constructor(
Expand Down
6 changes: 3 additions & 3 deletions src/bots/pythCranker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ export class PythCrankerBot implements Bot {
public defaultIntervalMs = 30_000;

private blockhashSubscriber: BlockhashSubscriber;
private health: boolean = true;
private slotStalenessThresholdRestart: number = 300;
private txSuccessRateThreshold: number = 0.5;
private health = true;
private slotStalenessThresholdRestart = 300;
private txSuccessRateThreshold = 0.5;

constructor(
private globalConfig: GlobalConfig,
Expand Down