Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
V-Staykov committed Oct 7, 2024
1 parent b50e101 commit c57aa6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zk/stages/stage_batches_datastream.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ func (r *DatastreamClientRunner) StopRead() {
func (r *DatastreamClientRunner) RestartReadFromBlock(fromBlock uint64) error {
r.StopRead()

//wait for te old routine to be finished before continuing
//wait for the old routine to be finished before continuing
counter := 0
for {
if r.isReading.Load() == false {
if !r.isReading.Load() {
break
}
counter++
Expand Down

0 comments on commit c57aa6d

Please sign in to comment.