Skip to content

Commit

Permalink
fix: constant type error
Browse files Browse the repository at this point in the history
  • Loading branch information
McSam94 committed May 10, 2024
1 parent af05c8f commit eaa2d57
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ts-client/src/dlmm/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
Expand Down

0 comments on commit eaa2d57

Please sign in to comment.