Skip to content

Commit

Permalink
Add blank line before return
Browse files Browse the repository at this point in the history
  • Loading branch information
hiepnv90 committed Jan 8, 2024
1 parent 18f1d7b commit 3404995
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/listener/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ func (l *Listener) subscribeNewBlockHead(ctx context.Context, blockCh chan<- typ
case <-ticker.C:
if time.Since(lastReceivedTime) > l.sanityCheckInterval {
l.l.Errorw("Websocket connection is corrupted", "lastReceivedTime", lastReceivedTime)

return errConnectionCorrupted
}
case header := <-headerCh:
Expand Down

0 comments on commit 3404995

Please sign in to comment.