mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
les: remove unused code and comment
This commit is contained in:
parent
a231fdbf79
commit
b04eb83c2f
1 changed files with 1 additions and 2 deletions
|
|
@ -115,7 +115,6 @@ type ProtocolManager struct {
|
|||
|
||||
// channels for fetcher, syncer, txsyncLoop
|
||||
newPeerCh chan *peer
|
||||
isClosed *int32
|
||||
quitSync chan struct{}
|
||||
noMorePeers chan struct{}
|
||||
|
||||
|
|
@ -243,7 +242,7 @@ func (pm *ProtocolManager) Stop() {
|
|||
// will exit when they try to register.
|
||||
pm.peers.Close()
|
||||
|
||||
// Wait for any process action. Wait should be executed after all pm.wg.Add()
|
||||
// Wait for any process action
|
||||
pm.wg.Wait()
|
||||
|
||||
log.Info("Light Ethereum protocol stopped")
|
||||
|
|
|
|||
Loading…
Reference in a new issue