Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinquaXD committed Sep 6, 2024
1 parent 3fddbe1 commit 234c96e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ts/explorer-apis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ const getDecimals = async (
// Chunks the range (start..end) into subranges of size `n` (or shorter for the last chunk).
const chunkRange = (start: number, end: number, chunkSize: number): [[number, number]] => {
const chunks = [];
for (let i = start; i <= end; i += n) {
const chunk = Math.min(i + n - 1, end);
chunkgs.push([i, chunk]);
for (let i = start; i <= end; i += chunkSize) {
const chunk = Math.min(i + chunkSize - 1, end);
chunks.push([i, chunk]);
}
return chunks;
}
Expand Down

0 comments on commit 234c96e

Please sign in to comment.