Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshvanahalli committed Jul 24, 2023
1 parent 5742706 commit 3e8bc37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/headerreader/header_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ func (s *HeaderReader) logIfHeaderIsOld() {
headerTime := time.Since(l1Timetamp)
if headerTime >= s.config().OldHeaderTimeout {
s.setError(fmt.Errorf("latest header is at least %v old", headerTime))
// Upgrade the log level from warn to error when lossing connection to L1 for too long
// Upgrade the log level from warn to error when losing connection to L1 for too long
if headerTime >= DefaultConfig.OldHeaderTimeout {
log.Error(
"latest L1 block is old", "l1Block", storedHeader.Number,
Expand Down

0 comments on commit 3e8bc37

Please sign in to comment.