mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-17 10:20:44 +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
|
// it, if they themselves are requests it initiates a reply, and lastly it drops
|
||||||
// unknown packets.
|
// unknown packets.
|
||||||
func (s *Service) readLoop(conn *connWrapper) {
|
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()
|
defer conn.Close()
|
||||||
|
|
||||||
for {
|
for {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue