Skip to content

Commit fade09a

Browse files
alanchchenfjl
authored andcommitted
eth: remove les server from protocol manager (ethereum#14625)
1 parent 335abdc commit fade09a

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

eth/backend.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ type Ethereum struct {
8888

8989
func (s *Ethereum) AddLesServer(ls LesServer) {
9090
s.lesServer = ls
91-
s.protocolManager.lesServer = ls
9291
}
9392

9493
// New creates a new Ethereum object (including the

eth/handler.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ type ProtocolManager struct {
8787
quitSync chan struct{}
8888
noMorePeers chan struct{}
8989

90-
lesServer LesServer
91-
9290
// wait group is used for graceful shutdowns during downloading
9391
// and processing
9492
wg sync.WaitGroup

0 commit comments

Comments
 (0)