Skip to content

Commit

Permalink
set an upper bound
Browse files Browse the repository at this point in the history
Signed-off-by: microwavedcola1 <[email protected]>
  • Loading branch information
microwavedcola1 committed Jul 30, 2024
1 parent 28ace32 commit 4f7a913
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ts/client/scripts/sb-on-demand-crank.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,10 @@ interface OracleInterface {
{
signers: [],
transactionInstruction: createComputeBudgetIx(
Math.max(lamportsPerCu ?? 150_000, 150_000),
Math.min(
Math.max(lamportsPerCu ?? 150_000, 150_000),
400_000,
),
),
},
...txChunk.map((tx) => ({
Expand Down

0 comments on commit 4f7a913

Please sign in to comment.