@hawksightco/hawk-sdk 1.3.162 → 1.3.163
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
|
@@ -2343,7 +2343,7 @@ class ClosePositionIfEmptyAutomation extends HawksightMeteoraAutomationCpi {
|
|
|
2343
2343
|
const hawksightAuthority = addresses_1.HS_AUTHORITY;
|
|
2344
2344
|
// let remainingAccounts: web3.AccountMeta[] = [];
|
|
2345
2345
|
// Dummy value of fuel account is system program
|
|
2346
|
-
let fuelAccount =
|
|
2346
|
+
let fuelAccount = this.userPda; // using user pda instead of program account
|
|
2347
2347
|
if ((_b = (_a = this.opt) === null || _a === void 0 ? void 0 : _a.params) === null || _b === void 0 ? void 0 : _b.fuelAccount) {
|
|
2348
2348
|
fuelAccount = util.generateFuelAccount(this.authority);
|
|
2349
2349
|
}
|