From bf6011fc06f280a2d62b98ac268d759342017c33 Mon Sep 17 00:00:00 2001 From: Daniel Liu <139250065@qq.com> Date: Mon, 8 Sep 2025 15:39:30 +0800 Subject: [PATCH] ethstats: fix typo in comment #22952 (#1447) Trivial but helpful to understanding. Co-authored-by: Mike Burr --- ethstats/ethstats.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethstats/ethstats.go b/ethstats/ethstats.go index 84da163385..9d73963cc8 100644 --- a/ethstats/ethstats.go +++ b/ethstats/ethstats.go @@ -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 {