diff --git a/src/bots/makerBidAskTwapCrank.ts b/src/bots/makerBidAskTwapCrank.ts index 92c35463..a45a9e08 100644 --- a/src/bots/makerBidAskTwapCrank.ts +++ b/src/bots/makerBidAskTwapCrank.ts @@ -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( diff --git a/src/bots/pythCranker.ts b/src/bots/pythCranker.ts index e48524fc..24925696 100644 --- a/src/bots/pythCranker.ts +++ b/src/bots/pythCranker.ts @@ -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,