@meteora-ag/dlmm 1.0.41 → 1.0.42

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.mjs CHANGED
@@ -5943,7 +5943,7 @@ function findNextBinArrayIndexWithLiquidity(swapForY, activeId, lbPairState, bin
5943
5943
  if (binArrayIndex !== null) {
5944
5944
  return new BN6(binArrayIndex);
5945
5945
  } else {
5946
- startBinArrayIndex = BIN_ARRAY_BITMAP_SIZE;
5946
+ startBinArrayIndex = BIN_ARRAY_BITMAP_SIZE.sub(new BN6(1));
5947
5947
  }
5948
5948
  } else {
5949
5949
  const binArrayIndex = findSetBit(