Skip to content

Commit 4924843

Browse files
authored
Merge pull request #276 from denizekiz/bugfix/toolowcomputeunit
Fix: compute unit increasein swapts, default is too low to make trans…
2 parents 193e5e7 + b14da62 commit 4924843

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)