@hawksightco/hawk-sdk 1.3.132 → 1.3.133
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/src/meteora.js +3 -3
- package/package.json +1 -1
package/dist/src/meteora.js
CHANGED
|
@@ -1459,10 +1459,10 @@ class RemoveLiquidityBuilder {
|
|
|
1459
1459
|
console.warn(`Warn: Reward instruction not found! This may happen if pool has no rewards`);
|
|
1460
1460
|
return;
|
|
1461
1461
|
}
|
|
1462
|
-
const userPda = this.mainIxs[index].keys[
|
|
1463
|
-
const tokenMint = this.mainIxs[index].keys[
|
|
1462
|
+
const userPda = this.mainIxs[index].keys[0].pubkey;
|
|
1463
|
+
const tokenMint = this.mainIxs[index].keys[6].pubkey;
|
|
1464
1464
|
const ataToken = (0, functions_1.generateAta)(userPda, tokenMint);
|
|
1465
|
-
this.mainIxs[index].keys[
|
|
1465
|
+
this.mainIxs[index].keys[7].pubkey = ataToken;
|
|
1466
1466
|
}
|
|
1467
1467
|
}
|
|
1468
1468
|
exports.RemoveLiquidityBuilder = RemoveLiquidityBuilder;
|