Skip to content

Commit

Permalink
ethstats: fix typo in comment (#22952)
Browse files Browse the repository at this point in the history
Trivial but helpful to understanding.
  • Loading branch information
stnbu authored May 26, 2021
1 parent c73652d commit 5869789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethstats/ethstats.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ func (s *Service) loop(chainHeadCh chan core.ChainHeadEvent, txEventCh chan core
// it, if they themselves are requests it initiates a reply, and lastly it drops
// unknown packets.
func (s *Service) readLoop(conn *connWrapper) {
// If the read loop exists, close the connection
// If the read loop exits, close the connection
defer conn.Close()

for {
Expand Down

0 comments on commit 5869789

Please sign in to comment.