We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d376a79 commit 14dc024Copy full SHA for 14dc024
sdk/src/contexts/solana/utils/sendAndConfirmPostVaa.ts
@@ -43,9 +43,7 @@ export async function postVaaWithRetry(
43
commitment,
44
);
45
for (const unsignedTransaction of unsignedTransactions) {
46
- unsignedTransaction.instructions.unshift(
47
- ...(computeBudgetInstructions || []),
48
- );
+ unsignedTransaction.add(...(computeBudgetInstructions || []));
49
}
50
51
const postVaaTransaction = unsignedTransactions.pop()!;
0 commit comments