@haven-fi/solauto-sdk 1.0.97 → 1.0.99
Sign up to get free protection for your applications and to get access to all the features.
@@ -130,7 +130,7 @@ class SolautoClient extends txHandler_1.TxHandler {
|
|
130
130
|
const lookupTable = this.authorityLutAddress
|
131
131
|
? await this.connection.getAddressLookupTable(this.authorityLutAddress)
|
132
132
|
: null;
|
133
|
-
if (lookupTable === null) {
|
133
|
+
if (!lookupTable || lookupTable?.value === null) {
|
134
134
|
this.authorityLutAddress = undefined;
|
135
135
|
}
|
136
136
|
return lookupTable?.value?.state.addresses ?? [];
|
package/package.json
CHANGED
@@ -274,7 +274,7 @@ export abstract class SolautoClient extends TxHandler {
|
|
274
274
|
const lookupTable = this.authorityLutAddress
|
275
275
|
? await this.connection.getAddressLookupTable(this.authorityLutAddress)
|
276
276
|
: null;
|
277
|
-
if (lookupTable === null) {
|
277
|
+
if (!lookupTable || lookupTable?.value === null) {
|
278
278
|
this.authorityLutAddress = undefined;
|
279
279
|
}
|
280
280
|
return lookupTable?.value?.state.addresses ?? [];
|