@hawksightco/hawk-sdk 1.1.48-hotfix-7 → 1.1.48-hotfix-9
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 +4 -4
- package/package.json +1 -1
package/dist/src/meteora.js
CHANGED
|
@@ -997,9 +997,9 @@ class ClaimAllRewardsByPositionBuilder {
|
|
|
997
997
|
return;
|
|
998
998
|
}
|
|
999
999
|
const userPda = this.mainIxs[index].keys[1].pubkey;
|
|
1000
|
-
const tokenMint = this.mainIxs[index].keys[
|
|
1000
|
+
const tokenMint = this.mainIxs[index].keys[11].pubkey;
|
|
1001
1001
|
const staToken = (0, functions_1.generateUserPdaStorageAccount)(userPda, tokenMint);
|
|
1002
|
-
this.mainIxs[index].keys[
|
|
1002
|
+
this.mainIxs[index].keys[12].pubkey = staToken;
|
|
1003
1003
|
}
|
|
1004
1004
|
}
|
|
1005
1005
|
exports.ClaimAllRewardsByPositionBuilder = ClaimAllRewardsByPositionBuilder;
|
|
@@ -1251,9 +1251,9 @@ class RemoveLiquidityPdaBuilder {
|
|
|
1251
1251
|
return;
|
|
1252
1252
|
}
|
|
1253
1253
|
const userPda = this.mainIxs[index].keys[1].pubkey;
|
|
1254
|
-
const tokenMint = this.mainIxs[index].keys[
|
|
1254
|
+
const tokenMint = this.mainIxs[index].keys[11].pubkey;
|
|
1255
1255
|
const staToken = (0, functions_1.generateUserPdaStorageAccount)(userPda, tokenMint);
|
|
1256
|
-
this.mainIxs[index].keys[
|
|
1256
|
+
this.mainIxs[index].keys[12].pubkey = staToken;
|
|
1257
1257
|
}
|
|
1258
1258
|
}
|
|
1259
1259
|
exports.RemoveLiquidityPdaBuilder = RemoveLiquidityPdaBuilder;
|