@hawksightco/hawk-sdk 1.3.121 → 1.3.122
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/hsToMeteora.js +1 -1
- package/package.json +1 -1
package/dist/src/hsToMeteora.js
CHANGED
|
@@ -2269,7 +2269,7 @@ class MeteoraDlmmClaimReward2Automation extends HawksightMeteoraAutomationCpi {
|
|
|
2269
2269
|
const rewardMintInfo = AccountCache_1.AccountCache.get(rewardMint);
|
|
2270
2270
|
const ownerFee = util.generateAta(addresses_1.SITE_FEE_OWNER, rewardMint, rewardMintInfo === null || rewardMintInfo === void 0 ? void 0 : rewardMintInfo.info.owner);
|
|
2271
2271
|
// Get reward index from parameter
|
|
2272
|
-
const rewardIndex =
|
|
2272
|
+
const rewardIndex = new bn_js_1.default(this.ix.data.readBigInt64LE(8).toString());
|
|
2273
2273
|
// Generate IX via extension contract
|
|
2274
2274
|
// @ts-ignore
|
|
2275
2275
|
const claimReward = yield anchor_1.Anchor.instance().iyfExtension.methods
|