Skip to content

Commit

Permalink
les: remove unused code and comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JekaMas committed Nov 8, 2017
1 parent a231fdb commit b04eb83
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions les/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ type ProtocolManager struct {

// channels for fetcher, syncer, txsyncLoop
newPeerCh chan *peer
isClosed *int32
quitSync chan struct{}
noMorePeers chan struct{}

Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit b04eb83

Please sign in to comment.