@deriverse/kit 1.0.13 → 1.0.15
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/index.js +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1103,7 +1103,7 @@ class Engine {
|
|
|
1103
1103
|
commitment: this.commitment,
|
|
1104
1104
|
encoding: 'base64'
|
|
1105
1105
|
}).send();
|
|
1106
|
-
if (info
|
|
1106
|
+
if (info.value) {
|
|
1107
1107
|
const clientPrimaryAccountHeaderModel = structure_models_1.ClientPrimaryAccountHeaderModel.fromBuffer(info.value.data);
|
|
1108
1108
|
if (clientPrimaryAccountHeaderModel.walletAddress == signer) {
|
|
1109
1109
|
this.clientPrimaryAccount = clientPrimaryAccount;
|
|
@@ -2145,10 +2145,10 @@ class Engine {
|
|
|
2145
2145
|
});
|
|
2146
2146
|
const perpMapsAccountSize = 175336;
|
|
2147
2147
|
const perpMapsAccountLamports = yield this.rpc.getMinimumBalanceForRentExemption(BigInt(perpMapsAccountSize)).send();
|
|
2148
|
-
const signer =
|
|
2148
|
+
//const signer = createNoopSigner(this.signer);
|
|
2149
2149
|
const createMapsAccountIx = (0, system_1.getCreateAccountWithSeedInstruction)({
|
|
2150
|
-
payer: signer,
|
|
2151
|
-
baseAccount: signer,
|
|
2150
|
+
payer: this.signer,
|
|
2151
|
+
baseAccount: this.signer,
|
|
2152
2152
|
base: this.signer,
|
|
2153
2153
|
newAccount: perpMapsAccount,
|
|
2154
2154
|
seed: perpMapsAccountSeed,
|