diff --git a/src/bundleSender.ts b/src/bundleSender.ts index 10147e5f..1fa20f65 100644 --- a/src/bundleSender.ts +++ b/src/bundleSender.ts @@ -425,7 +425,8 @@ export class BundleSender { calculateCurrentTipAmount() { return Math.floor( Math.max( - this.lastTipStream?.landed_tips_25th_percentile ?? 0 * LAMPORTS_PER_SOL, + (this.lastTipStream?.landed_tips_25th_percentile ?? 0) * + LAMPORTS_PER_SOL, this.minBundleTip, Math.min( this.maxBundleTip, diff --git a/src/index.ts b/src/index.ts index 863320fb..e2750cbb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -406,7 +406,7 @@ const runBot = async () => { subAccountIds: config.global.subaccounts ?? [0], txVersion: 0 as TransactionVersion, txSender, - marketLookupTable + marketLookupTable, }; const driftClient = new DriftClient(driftClientConfig); driftClient.eventEmitter.on('error', (e) => {