aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Chen <alanchchen@users.noreply.github.com>2017-06-15 21:28:57 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-06-15 21:28:57 +0800
commitfade09a7fffe7a0095076dd3ff57015ab1e2393e (patch)
treec58d1e60714c40d903d4e613cee8b2bae9fb1490
parent335abdceb1d691e34526f9feb12870d6cdbc3d80 (diff)
downloadgo-tangerine-fade09a7fffe7a0095076dd3ff57015ab1e2393e.tar
go-tangerine-fade09a7fffe7a0095076dd3ff57015ab1e2393e.tar.gz
go-tangerine-fade09a7fffe7a0095076dd3ff57015ab1e2393e.tar.bz2
go-tangerine-fade09a7fffe7a0095076dd3ff57015ab1e2393e.tar.lz
go-tangerine-fade09a7fffe7a0095076dd3ff57015ab1e2393e.tar.xz
go-tangerine-fade09a7fffe7a0095076dd3ff57015ab1e2393e.tar.zst
go-tangerine-fade09a7fffe7a0095076dd3ff57015ab1e2393e.zip
eth: remove les server from protocol manager (#14625)
-rw-r--r--eth/backend.go1
-rw-r--r--eth/handler.go2
2 files changed, 0 insertions, 3 deletions
diff --git a/eth/backend.go b/eth/backend.go
index 639792333..be2d03283 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -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
diff --git a/eth/handler.go b/eth/handler.go
index 8c2f5660d..1af9e755b 100644
--- a/eth/handler.go
+++ b/eth/handler.go
@@ -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