From 277a8c975b0b3a171b3047f3ed8009ada69f44d3 Mon Sep 17 00:00:00 2001 From: Wenbiao Zheng Date: Sat, 26 Jan 2019 21:32:46 +0800 Subject: [PATCH] eth/fetcher: blockFilter is not used anymore (#17971) --- eth/fetcher/fetcher.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/eth/fetcher/fetcher.go b/eth/fetcher/fetcher.go index f0b5e8064..94f05f967 100644 --- a/eth/fetcher/fetcher.go +++ b/eth/fetcher/fetcher.go @@ -110,7 +110,6 @@ type Fetcher struct { notify chan *announce inject chan *inject - blockFilter chan chan []*types.Block headerFilter chan chan *headerFilterTask bodyFilter chan chan *bodyFilterTask @@ -150,7 +149,6 @@ func New(getBlock blockRetrievalFn, verifyHeader headerVerifierFn, broadcastBloc return &Fetcher{ notify: make(chan *announce), inject: make(chan *inject), - blockFilter: make(chan chan []*types.Block), headerFilter: make(chan chan *headerFilterTask), bodyFilter: make(chan chan *bodyFilterTask), done: make(chan common.Hash),