Skip to content

Commit 46f0d28

Browse files
committed
Remove compute budger stuff
1 parent 7b4c024 commit 46f0d28

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/spl-token-bonding/src/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1666,8 +1666,8 @@ export class SplTokenBonding extends AnchorSdk<SplTokenBondingIDL> {
16661666

16671667
const instructions = [];
16681668
const signers = [];
1669-
let req = ComputeBudgetProgram.setComputeUnitLimit({units: 400000});
1670-
instructions.push(req);
1669+
// let req = ComputeBudgetProgram.setComputeUnitLimit({units: 400000});
1670+
// instructions.push(req);
16711671

16721672
if (!destination) {
16731673
destination = await Token.getAssociatedTokenAddress(
@@ -2170,8 +2170,8 @@ export class SplTokenBonding extends AnchorSdk<SplTokenBondingIDL> {
21702170
);
21712171

21722172
const instructions = [];
2173-
let req = ComputeBudgetProgram.setComputeUnitLimit({units: 350000});
2174-
instructions.push(req);
2173+
// let req = ComputeBudgetProgram.setComputeUnitLimit({units: 350000});
2174+
// instructions.push(req);
21752175
if (!source) {
21762176
source = await Token.getAssociatedTokenAddress(
21772177
ASSOCIATED_TOKEN_PROGRAM_ID,

0 commit comments

Comments
 (0)