ethstats: fix typo in comment (#22952)

Trivial but helpful to understanding.
This commit is contained in:
Mike Burr 2021-05-26 14:33:00 -06:00 committed by GitHub
parent c73652da0b
commit 5869789d75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {