diff --git a/les/fetcher.go b/les/fetcher.go index f3b3503555..cc539c42bf 100644 --- a/les/fetcher.go +++ b/les/fetcher.go @@ -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)