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 8, 2024
1 parent 44ac160 commit 18ab8dd
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 @@ -219,7 +219,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 18ab8dd

Please sign in to comment.