@haven-fi/solauto-sdk 1.0.97 → 1.0.99
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.
|
@@ -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 ?? [];
|