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 14, 2025
1 parent b11b317 commit 116ee1c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions interfaces/stakedex_interface/src/instructions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,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 @@ -474,7 +474,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 @@ -1393,8 +1393,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 @@ -1676,7 +1676,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 @@ -2106,7 +2106,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 Expand Up @@ -2509,7 +2509,7 @@ impl From<WithdrawWrappedSolKeys> for [AccountMeta; WITHDRAW_WRAPPED_SOL_IX_ACCO
[
AccountMeta {
pubkey: keys.user,
is_signer: true,
is_signer: false,
is_writable: false,
},
AccountMeta {
Expand Down

0 comments on commit 116ee1c

Please sign in to comment.