Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
antonydenyer committed Jun 22, 2022
1 parent b86ab92 commit c1d3e81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/rawdb/freezer.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,12 +275,13 @@ func (f *freezer) SyncRetry(retry int8) error {
hasError := len(errs) > 0
if hasError && retry < 10 {
log.Info("sync", "retry", retry, "errors", errs)
return f.SyncRetry(retry+1)
return f.SyncRetry(retry + 1)
} else if hasError {
return fmt.Errorf("%v", errs)
}
return nil
}

// End Quorum

// freeze is a background thread that periodically checks the blockchain for any
Expand Down

0 comments on commit c1d3e81

Please sign in to comment.