les/fetcher.go: Removed depcreated channel

This commit is contained in:
Lucas Hendren 2018-10-25 08:55:43 -04:00
parent 20af817433
commit 6d43b167c0

View file

@ -50,7 +50,6 @@ type lightFetcher struct {
lastUpdateStats *updateStatsEntry
syncing bool
syncDone chan *peer
SyncedCh chan bool
reqMu sync.RWMutex // reqMu protects access to sent header fetch requests
requested map[uint64]fetchRequest
@ -117,7 +116,6 @@ func newLightFetcher(pm *ProtocolManager) *lightFetcher {
timeoutChn: make(chan uint64),
requestChn: make(chan bool, 100),
syncDone: make(chan *peer),
SyncedCh: make(chan bool, 1),
maxConfirmedTd: big.NewInt(0),
}
pm.peers.notify(f)