ethstats: fix typo in comment #22952 (#1447)

Trivial but helpful to understanding.

Co-authored-by: Mike Burr <mburr@nightmare.com>
This commit is contained in:
Daniel Liu 2025-09-08 15:39:30 +08:00 committed by GitHub
parent c1e02cb232
commit bf6011fc06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -377,7 +377,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 {