Skip to content

Commit

Permalink
fix: Jupiter account metas is_signer: false hack
Browse files Browse the repository at this point in the history
  • Loading branch information
Arrowana committed Jan 13, 2025
1 parent 575c03f commit c274397
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions interfaces/stakedex_interface/src/instructions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ impl From<StakeWrappedSolKeys> for [AccountMeta; STAKE_WRAPPED_SOL_IX_ACCOUNTS_L
[
AccountMeta {
pubkey: keys.user,
is_signer: true,
is_signer: false,
is_writable: false,
},
AccountMeta {
Expand Down Expand Up @@ -466,7 +466,7 @@ impl From<SwapViaStakeKeys> for [AccountMeta; SWAP_VIA_STAKE_IX_ACCOUNTS_LEN] {
[
AccountMeta {
pubkey: keys.user,
is_signer: true,
is_signer: false,
is_writable: true,
},
AccountMeta {
Expand Down Expand Up @@ -1385,8 +1385,8 @@ impl From<DepositStakeKeys> for [AccountMeta; DEPOSIT_STAKE_IX_ACCOUNTS_LEN] {
[
AccountMeta {
pubkey: keys.user,
is_signer: true,
is_writable: true,
is_signer: false,
is_writable: false,
},
AccountMeta {
pubkey: keys.stake_account,
Expand Down Expand Up @@ -1668,7 +1668,7 @@ impl From<PrefundWithdrawStakeKeys> for [AccountMeta; PREFUND_WITHDRAW_STAKE_IX_
[
AccountMeta {
pubkey: keys.user,
is_signer: true,
is_signer: false,
is_writable: true,
},
AccountMeta {
Expand Down Expand Up @@ -2098,7 +2098,7 @@ impl From<PrefundSwapViaStakeKeys> for [AccountMeta; PREFUND_SWAP_VIA_STAKE_IX_A
[
AccountMeta {
pubkey: keys.user,
is_signer: true,
is_signer: false,
is_writable: true,
},
AccountMeta {
Expand Down

0 comments on commit c274397

Please sign in to comment.