Skip to content

Commit b14da62

Browse files
author
Your Name
committed
Fix: compute unit increasein swapts, default is too low to make transaction.
1 parent 61cc988 commit b14da62

File tree

1 file changed

+1
-1
lines changed
  • packages/plugin-solana/src/actions

1 file changed

+1
-1
lines changed

packages/plugin-solana/src/actions/swap.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ async function swapToken(
7676
quoteResponse: quoteData,
7777
userPublicKey: walletPublicKey.toString(),
7878
wrapAndUnwrapSol: true,
79-
computeUnitPriceMicroLamports: 1000,
79+
computeUnitPriceMicroLamports: 2000000,
8080
dynamicComputeUnitLimit: true,
8181
};
8282

0 commit comments

Comments
 (0)