mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
Trivial but helpful to understanding. Co-authored-by: Mike Burr <mburr@nightmare.com>
This commit is contained in:
parent
c1e02cb232
commit
bf6011fc06
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue