Skip to content

Commit f3e2348

Browse files
authored
bump minimum solana priority fee to 100k micro-lamports (#3167)
1 parent 80c2399 commit f3e2348

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

wormhole-connect/src/utils/wallet/solana.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,13 @@ async function createPriorityFeeInstructions(
321321
}),
322322
);
323323

324-
const priorityFee = await determinePriorityFee(connection, transaction, 0.95);
324+
const priorityFee = await determinePriorityFee(
325+
connection,
326+
transaction,
327+
0.95,
328+
1,
329+
100_000, // 100k microLamports minimum priority fee
330+
);
325331
instructions.push(
326332
ComputeBudgetProgram.setComputeUnitPrice({ microLamports: priorityFee }),
327333
);

0 commit comments

Comments
 (0)