@hawksightco/hawk-sdk 1.3.53 → 1.3.54
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 +2 -2
- package/package.json +1 -1
package/dist/src/hsToMeteora.js
CHANGED
|
@@ -2324,8 +2324,8 @@ class ClosePositionIfEmptyAutomation extends HawksightMeteoraAutomationCpi {
|
|
|
2324
2324
|
* Customizes the transaction keys to properly close a position, ensuring all relevant keys are set correctly.
|
|
2325
2325
|
*/
|
|
2326
2326
|
replace() {
|
|
2327
|
-
this.
|
|
2328
|
-
this.
|
|
2327
|
+
this.ix.keys[1].pubkey = this.userPda;
|
|
2328
|
+
this.ix.keys[1].isSigner = false;
|
|
2329
2329
|
// this._ix.keys[5].pubkey = this.authority;
|
|
2330
2330
|
}
|
|
2331
2331
|
/**
|