Skip to content

Commit 3ae73a2

Browse files
committed
Reduce compute unit limit for transfer with authority transactions
1 parent 3e34633 commit 3ae73a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/code/transaction/transaction.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ func MakeInternalTransferWithAuthorityTransaction(
240240

241241
instructions := []solana.Instruction{
242242
compute_budget.SetComputeUnitPrice(1_000),
243-
compute_budget.SetComputeUnitLimit(200_000),
243+
compute_budget.SetComputeUnitLimit(100_000),
244244
execInstruction,
245245
}
246246
return MakeNoncedTransaction(nonce, bh, instructions...)
@@ -296,7 +296,7 @@ func MakeExternalTransferWithAuthorityTransaction(
296296

297297
instructions := []solana.Instruction{
298298
compute_budget.SetComputeUnitPrice(1_000),
299-
compute_budget.SetComputeUnitLimit(200_000),
299+
compute_budget.SetComputeUnitLimit(100_000),
300300
execInstruction,
301301
}
302302
return MakeNoncedTransaction(nonce, bh, instructions...)

0 commit comments

Comments
 (0)