From 6d43b167c05541ffac3c015485865103fb998f9a Mon Sep 17 00:00:00 2001 From: Lucas Hendren Date: Thu, 25 Oct 2018 08:55:43 -0400 Subject: [PATCH] les/fetcher.go: Removed depcreated channel --- les/fetcher.go | 2 -- 1 file changed, 2 deletions(-) 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)