forked from cerc-io/plugeth
eth/fetcher: blockFilter is not used anymore (#17971)
This commit is contained in:
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),
|
||||
|
Loading…
Reference in New Issue
Block a user