Skip to content

Commit

Permalink
fixup! fix: temporary poor man's stake-distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
slowbackspace committed Nov 26, 2021
1 parent e8b971b commit a9c9b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/query/stake-distribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export class StakeDistribution extends BaseCommand {
await new Promise(resolve => setTimeout(() => resolve(true), 1000));
}
const partialResults = await Promise.all(promiseSlice);
progressBar.update(i + batch_size);
progressBar.update(i);
partialResults.forEach(res => {
const liveStake = BigInt(res.live_stake);
allStakes.push({
Expand Down

0 comments on commit a9c9b22

Please sign in to comment.