@meteora-ag/dlmm 1.9.6 → 1.9.7

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 CHANGED
@@ -14237,7 +14237,7 @@ function validateAndSortRebalanceDeposit(deposits) {
14237
14237
  (a, b) => a.minDeltaId.sub(b.minDeltaId).toNumber()
14238
14238
  );
14239
14239
  for (const deposit of deposits) {
14240
- if (deposit.minDeltaId.gte(deposit.maxDeltaId)) {
14240
+ if (deposit.minDeltaId.gt(deposit.maxDeltaId)) {
14241
14241
  throw "Invalid minDeltaId or maxDeltaId";
14242
14242
  }
14243
14243
  }