@hawksightco/hawk-sdk 1.3.82 → 1.3.83
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.
|
@@ -244,8 +244,8 @@ class MeteoraDlmmIxGenerator {
|
|
|
244
244
|
const tokenProgramB = mintBInfo === null || mintBInfo === void 0 ? void 0 : mintBInfo.info.owner;
|
|
245
245
|
const reserveX = lbPairInfo.reserveX;
|
|
246
246
|
const reserveY = lbPairInfo.reserveY;
|
|
247
|
-
const userTokenX = (0, functions_1.generateAta)(userPda, tokenXMint);
|
|
248
|
-
const userTokenY = (0, functions_1.generateAta)(userPda, tokenYMint);
|
|
247
|
+
const userTokenX = (0, functions_1.generateAta)(userPda, tokenXMint, mintAInfo === null || mintAInfo === void 0 ? void 0 : mintAInfo.info.owner);
|
|
248
|
+
const userTokenY = (0, functions_1.generateAta)(userPda, tokenYMint, mintBInfo === null || mintBInfo === void 0 ? void 0 : mintBInfo.info.owner);
|
|
249
249
|
const activeBinId = lbPairInfo.activeId;
|
|
250
250
|
console.log('LB pair info:', {
|
|
251
251
|
tokenXMint: tokenXMint.toString(),
|