diff --git a/ts-client/src/dlmm/constants/index.ts b/ts-client/src/dlmm/constants/index.ts index 3261638..90f22dc 100644 --- a/ts-client/src/dlmm/constants/index.ts +++ b/ts-client/src/dlmm/constants/index.ts @@ -34,9 +34,7 @@ const CONSTANTS = Object.entries(IDL.constants); export const MAX_BIN_ARRAY_SIZE = new BN( CONSTANTS.find(([k, v]) => v.name == "MAX_BIN_PER_ARRAY")?.[1].value ?? 0 ); -export const MAX_BIN_PER_POSITION = new BN( - CONSTANTS.find(([k, v]) => v.name == "MAX_BIN_PER_POSITION")?.[1].value ?? 0 -); +export const MAX_BIN_PER_POSITION = new BN(70); export const BIN_ARRAY_BITMAP_SIZE = new BN( CONSTANTS.find(([k, v]) => v.name == "BIN_ARRAY_BITMAP_SIZE")?.[1].value ?? 0 );