mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
eth: remove les server from protocol manager
This commit is contained in:
parent
335abdceb1
commit
1b29f072af
2 changed files with 0 additions and 3 deletions
|
|
@ -88,7 +88,6 @@ type Ethereum struct {
|
|||
|
||||
func (s *Ethereum) AddLesServer(ls LesServer) {
|
||||
s.lesServer = ls
|
||||
s.protocolManager.lesServer = ls
|
||||
}
|
||||
|
||||
// New creates a new Ethereum object (including the
|
||||
|
|
|
|||
|
|
@ -87,8 +87,6 @@ type ProtocolManager struct {
|
|||
quitSync chan struct{}
|
||||
noMorePeers chan struct{}
|
||||
|
||||
lesServer LesServer
|
||||
|
||||
// wait group is used for graceful shutdowns during downloading
|
||||
// and processing
|
||||
wg sync.WaitGroup
|
||||
|
|
|
|||
Loading…
Reference in a new issue