@ignitionfi/spl-stake-pool 1.1.14 → 1.1.15
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 +1 -8
- package/dist/index.browser.cjs.js.map +1 -1
- package/dist/index.browser.esm.js +1 -8
- package/dist/index.browser.esm.js.map +1 -1
- package/dist/index.cjs.js +1 -8
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/index.iife.js +1 -8
- 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 +1 -1
- package/src/index.ts +8 -8
|
@@ -2164,14 +2164,7 @@ async function withdrawWsolWithSession(connection, stakePoolAddress, signerOrSes
|
|
|
2164
2164
|
const userWsolAccount = splToken.getAssociatedTokenAddressSync(splToken.NATIVE_MINT, userPubkey);
|
|
2165
2165
|
const instructions = [];
|
|
2166
2166
|
const signers = [];
|
|
2167
|
-
|
|
2168
|
-
// createAssociatedTokenAccountIdempotentInstruction(
|
|
2169
|
-
// signerOrSession,
|
|
2170
|
-
// userWsolAccount,
|
|
2171
|
-
// userPubkey,
|
|
2172
|
-
// NATIVE_MINT,
|
|
2173
|
-
// ),
|
|
2174
|
-
// )
|
|
2167
|
+
instructions.push(splToken.createAssociatedTokenAccountIdempotentInstruction(signerOrSession, userWsolAccount, userPubkey, splToken.NATIVE_MINT));
|
|
2175
2168
|
const [programSigner] = web3_js.PublicKey.findProgramAddressSync([Buffer.from('fogo_session_program_signer')], stakePoolProgramId);
|
|
2176
2169
|
const withdrawAuthority = await findWithdrawAuthorityProgramAddress(stakePoolProgramId, stakePoolAddress);
|
|
2177
2170
|
instructions.push(StakePoolInstruction.withdrawWsolWithSession({
|