eth/fetcher: blockFilter is not used anymore (#17971)

This commit is contained in:
Wenbiao Zheng 2019-01-26 21:32:46 +08:00 committed by Felix Lange
parent dddd6ef006
commit 277a8c975b

@ -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),