@ignitionfi/spl-stake-pool 1.1.16 → 1.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1448,6 +1448,7 @@ class StakePoolInstruction {
1448
1448
  { pubkey: params.programSigner, isSigner: false, isWritable: true },
1449
1449
  { pubkey: (_a = params.payer) !== null && _a !== void 0 ? _a : params.fundingAccount, isSigner: true, isWritable: true },
1450
1450
  { pubkey: ASSOCIATED_TOKEN_PROGRAM_ID, isSigner: false, isWritable: false },
1451
+ { pubkey: params.userWallet, isSigner: false, isWritable: false },
1451
1452
  ];
1452
1453
  if (params.depositAuthority) {
1453
1454
  keys.push({
@@ -1865,6 +1866,7 @@ async function depositWsolWithSession(connection, stakePoolAddress, signerOrSess
1865
1866
  tokenProgramId: stakePool.tokenProgramId,
1866
1867
  programSigner,
1867
1868
  payer,
1869
+ userWallet: userPubkey,
1868
1870
  }));
1869
1871
  return {
1870
1872
  instructions,