@meteora-ag/dlmm 1.0.39-rc.19 → 1.0.39-rc.20
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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9914,7 +9914,7 @@ var DLMM = class {
|
|
|
9914
9914
|
while (count >= 0) {
|
|
9915
9915
|
const binArray = sortedBinArrays[count];
|
|
9916
9916
|
if (binArray) {
|
|
9917
|
-
const bins = binArray.account.bins;
|
|
9917
|
+
const bins = binArray.account.bins.reverse();
|
|
9918
9918
|
if (bins.every(({ amountX }) => amountX.isZero())) {
|
|
9919
9919
|
count--;
|
|
9920
9920
|
} else {
|