Without this, the foundPeers() goroutine will enter a tight infinite loop when the DHT query ends and the peer channel gets closed, as “<-s.peerChan” will immediately return a zero-valued PeerInfo.pull/385/head
parent
5d4418c548
commit
84e150a2df
Loading…
Reference in new issue