Commit 4106fd55 authored by Mark Tyneway's avatar Mark Tyneway

contracts: fix bug in fetch batches script

parent 5a6f539c
...@@ -38,7 +38,7 @@ task('fetch-batches') ...@@ -38,7 +38,7 @@ task('fetch-batches')
const batches = [] const batches = []
for (let i = start; i < end; i += 2001) { for (let i = start; i <= end; i += 2001) {
const tip = Math.min(i + 2000, end) const tip = Math.min(i + 2000, end)
console.error(`Querying events ${i}-${tip}`) console.error(`Querying events ${i}-${tip}`)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment