From 7673097c37b31a190dcba6ccd38d28429dc90803 Mon Sep 17 00:00:00 2001 From: guibescos <59208140+guibescos@users.noreply.github.com> Date: Thu, 11 Apr 2024 20:03:35 +0100 Subject: [PATCH] fix: don't use hardcoded bundlesize (#1448) * feat: jito script * Go * Go * Checkpoint * Checkpoint * Rename * Make tip account random * Go * Jito pusher * Go * lint * Lint * Bump * bugfix --- price_pusher/src/solana/solana.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/price_pusher/src/solana/solana.ts b/price_pusher/src/solana/solana.ts index f53f4f59b2..8433fe9340 100644 --- a/price_pusher/src/solana/solana.ts +++ b/price_pusher/src/solana/solana.ts @@ -178,7 +178,7 @@ export class SolanaPricePusherJito implements IPricePusher { i += this.jitoBundleSize ) { await sendTransactionsJito( - transactions.slice(i, i + 2), + transactions.slice(i, i + this.jitoBundleSize), this.searcherClient, this.pythSolanaReceiver.wallet );