Skip to content

Commit

Permalink
erigon22: save correct parallel progress #5388
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov authored Sep 16, 2022
1 parent 10039f0 commit b8e81f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eth/stagedsync/exec22.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,9 @@ loop:
} else if parallel {
rs.AddWork(txTask)
}
if !parallel {
if parallel {
stageProgress = blockNum
} else {
count++
reconWorkers[0].RunTxTask(txTask)
if txTask.Error == nil {
Expand Down

0 comments on commit b8e81f9

Please sign in to comment.