diff --git a/src/model/OutputData.ts b/src/model/OutputData.ts index b0386209..f5bd1761 100644 --- a/src/model/OutputData.ts +++ b/src/model/OutputData.ts @@ -140,8 +140,8 @@ export class OutputData implements OutputDataLike { customSplit?: Array ): Array { const amounts = splitAmount(amount, keyset.keys, customSplit); - return amounts.map((_, i) => - this.createSingleDeterministicData(amount, seed, (counter = i), keyset.id) + return amounts.map((a, i) => + this.createSingleDeterministicData(a, seed, counter + i, keyset.id) ); }