@haven-fi/solauto-sdk 1.0.418 → 1.0.419
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.
@@ -171,15 +171,14 @@ class TransactionsManager {
|
|
171
171
|
let newSet = new TransactionSet(this.txHandler, this.lookupTables, [
|
172
172
|
item,
|
173
173
|
]);
|
174
|
-
for (let j = i; j >= 0; j--) {
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
}
|
174
|
+
// for (let j = i; j >= 0; j--) {
|
175
|
+
// if (await newSet.fitsWith(items[j])) {
|
176
|
+
// newSet.prepend(items[j]);
|
177
|
+
// i--;
|
178
|
+
// } else {
|
179
|
+
// break;
|
180
|
+
// }
|
181
|
+
// }
|
183
182
|
transactionSets.unshift(newSet);
|
184
183
|
}
|
185
184
|
}
|
package/package.json
CHANGED
@@ -263,14 +263,14 @@ export class TransactionsManager {
|
|
263
263
|
let newSet = new TransactionSet(this.txHandler, this.lookupTables, [
|
264
264
|
item,
|
265
265
|
]);
|
266
|
-
for (let j = i; j >= 0; j--) {
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
}
|
266
|
+
// for (let j = i; j >= 0; j--) {
|
267
|
+
// if (await newSet.fitsWith(items[j])) {
|
268
|
+
// newSet.prepend(items[j]);
|
269
|
+
// i--;
|
270
|
+
// } else {
|
271
|
+
// break;
|
272
|
+
// }
|
273
|
+
// }
|
274
274
|
transactionSets.unshift(newSet);
|
275
275
|
}
|
276
276
|
}
|