Skip to content

Commit eaad65b

Browse files
authored
Merge branch 'jt/export-headers-toolkit' into fix-blockhash-mismatch
2 parents 51d5c7d + 0f94e9c commit eaad65b

File tree

1 file changed

+1
-1
lines changed
  • rollup/missing_header_fields/export-headers-toolkit/cmd

1 file changed

+1
-1
lines changed

rollup/missing_header_fields/export-headers-toolkit/cmd/fetch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ func writeHeadersToFile(outputFile string, humanReadableOutputFile string, conti
201201

202202
func runFetch(clients []*ethclient.Client, startBlockNum uint64, endBlockNum uint64, batchSize uint64, maxGoroutines int, outputFile string, humanReadableOutputFile string, continueFile string) {
203203
headersChan := make(chan *types.Header, maxGoroutines*int(batchSize))
204-
tasks := make(chan task, maxGoroutines)
204+
tasks := make(chan task)
205205

206206
var wgConsumer sync.WaitGroup
207207
// start consumer goroutine to sort and write headers to file

0 commit comments

Comments
 (0)