Skip to content

Commit

Permalink
solana fix: setting compute budget when redeeming WSOL causes signatu…
Browse files Browse the repository at this point in the history
…re failure
  • Loading branch information
kev1n-peters committed Mar 26, 2024
1 parent 3bc7931 commit ad525ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/src/contexts/solana/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -912,8 +912,8 @@ export class SolanaContext<
signedVAA,
);

transaction.feePayer = new PublicKey(payerAddr);
await addComputeBudget(this.connection!, transaction);
// TODO: adding a compute budget causes the redeem to fail for WSOL, unsure of why
// await addComputeBudget(this.connection!, transaction);

return transaction;
}
Expand Down

0 comments on commit ad525ac

Please sign in to comment.