Skip to content

Commit

Permalink
Fix stage_batches bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cffls committed Oct 7, 2024
1 parent 71fd49e commit ef89a9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zk/stages/stage_batches.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func SpawnStageBatches(
// start routine to download blocks and push them in a channel
dsClientRunner := NewDatastreamClientRunner(cfg.dsClient, logPrefix)
dsClientRunner.StartRead()
defer dsClientRunner.StartRead()
defer dsClientRunner.StopRead()

entryChan := cfg.dsClient.GetEntryChan()

Expand Down

0 comments on commit ef89a9d

Please sign in to comment.