@percolatorct/sdk 2.0.7 → 2.0.8
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 +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2316,7 +2316,7 @@ var V12_19_HEADER_LEN_SBF = 136;
|
|
|
2316
2316
|
var V12_19_CONFIG_LEN = 480;
|
|
2317
2317
|
var V12_19_ENGINE_OFF_SBF = 616;
|
|
2318
2318
|
var V12_19_ACCOUNT_SIZE_SBF = 360;
|
|
2319
|
-
var V12_19_SBF_ENGINE_BITMAP_OFF =
|
|
2319
|
+
var V12_19_SBF_ENGINE_BITMAP_OFF = 736;
|
|
2320
2320
|
var V12_19_SBF_ENGINE_CURRENT_SLOT_OFF = 200;
|
|
2321
2321
|
var V12_19_SBF_ENGINE_MARKET_MODE_OFF = 208;
|
|
2322
2322
|
var V12_19_SBF_ENGINE_RESOLVED_LIVE_PRICE_OFF = 304;
|
|
@@ -4001,7 +4001,7 @@ function parseAccount(data, idx) {
|
|
|
4001
4001
|
const isV12_1 = !isV12_17 && !isV12_15 && !isV12_1EP && (layout.engineOff === V12_1_ENGINE_OFF || layout.engineOff === V12_1_SBF_ENGINE_OFF) && (layout.accountSize === V12_1_ACCOUNT_SIZE || layout.accountSize === V12_1_ACCOUNT_SIZE_SBF);
|
|
4002
4002
|
const isAdl = !isV12_17 && !isV12_15 && (layout.accountSize >= 312 || isV12_1 || isV12_1EP);
|
|
4003
4003
|
if (isV12_17) {
|
|
4004
|
-
const isSbf = layout.accountSize === V12_17_ACCOUNT_SIZE_SBF;
|
|
4004
|
+
const isSbf = layout.accountSize === V12_17_ACCOUNT_SIZE_SBF || layout.accountSize === V12_19_ACCOUNT_SIZE_SBF;
|
|
4005
4005
|
const d1 = isSbf ? 8 : 0;
|
|
4006
4006
|
const d2 = isSbf ? 16 : 0;
|
|
4007
4007
|
const kindByte2 = readU8(data, base + V12_17_ACCT_KIND_OFF);
|