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
|
notify chan *announce
|
||||||
inject chan *inject
|
inject chan *inject
|
||||||
|
|
||||||
blockFilter chan chan []*types.Block
|
|
||||||
headerFilter chan chan *headerFilterTask
|
headerFilter chan chan *headerFilterTask
|
||||||
bodyFilter chan chan *bodyFilterTask
|
bodyFilter chan chan *bodyFilterTask
|
||||||
|
|
||||||
@ -150,7 +149,6 @@ func New(getBlock blockRetrievalFn, verifyHeader headerVerifierFn, broadcastBloc
|
|||||||
return &Fetcher{
|
return &Fetcher{
|
||||||
notify: make(chan *announce),
|
notify: make(chan *announce),
|
||||||
inject: make(chan *inject),
|
inject: make(chan *inject),
|
||||||
blockFilter: make(chan chan []*types.Block),
|
|
||||||
headerFilter: make(chan chan *headerFilterTask),
|
headerFilter: make(chan chan *headerFilterTask),
|
||||||
bodyFilter: make(chan chan *bodyFilterTask),
|
bodyFilter: make(chan chan *bodyFilterTask),
|
||||||
done: make(chan common.Hash),
|
done: make(chan common.Hash),
|
||||||
|
Loading…
Reference in New Issue
Block a user