@ignitionfi/spl-stake-pool 1.1.12 → 1.1.14
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.
- package/dist/index.browser.cjs.js +8 -1
- package/dist/index.browser.cjs.js.map +1 -1
- package/dist/index.browser.esm.js +8 -1
- package/dist/index.browser.esm.js.map +1 -1
- package/dist/index.cjs.js +8 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +8 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.iife.js +8 -1
- package/dist/index.iife.js.map +1 -1
- package/dist/index.iife.min.js +1 -1
- package/dist/index.iife.min.js.map +1 -1
- package/package.json +2 -3
- package/src/index.ts +8 -8
|
@@ -2143,7 +2143,14 @@ async function withdrawWsolWithSession(connection, stakePoolAddress, signerOrSes
|
|
|
2143
2143
|
const userWsolAccount = getAssociatedTokenAddressSync(NATIVE_MINT, userPubkey);
|
|
2144
2144
|
const instructions = [];
|
|
2145
2145
|
const signers = [];
|
|
2146
|
-
instructions.push(
|
|
2146
|
+
// instructions.push(
|
|
2147
|
+
// createAssociatedTokenAccountIdempotentInstruction(
|
|
2148
|
+
// signerOrSession,
|
|
2149
|
+
// userWsolAccount,
|
|
2150
|
+
// userPubkey,
|
|
2151
|
+
// NATIVE_MINT,
|
|
2152
|
+
// ),
|
|
2153
|
+
// )
|
|
2147
2154
|
const [programSigner] = PublicKey.findProgramAddressSync([Buffer.from('fogo_session_program_signer')], stakePoolProgramId);
|
|
2148
2155
|
const withdrawAuthority = await findWithdrawAuthorityProgramAddress(stakePoolProgramId, stakePoolAddress);
|
|
2149
2156
|
instructions.push(StakePoolInstruction.withdrawWsolWithSession({
|