aboutsummaryrefslogtreecommitdiffstats
path: root/les/server.go
diff options
context:
space:
mode:
authorZsolt Felfoldi <zsfelfoldi@gmail.com>2016-10-19 19:04:55 +0800
committerFelix Lange <fjl@twurst.com>2016-11-09 09:12:53 +0800
commit49da42983af7a775695166689e5bf701bcec4f81 (patch)
tree2c325a4852695697cc9616a3eac99a432711abdb /les/server.go
parent7db7109a5b53c339f00e9c05ac826b3dbd1f98e1 (diff)
downloadgo-tangerine-49da42983af7a775695166689e5bf701bcec4f81.tar.gz
go-tangerine-49da42983af7a775695166689e5bf701bcec4f81.tar.zst
go-tangerine-49da42983af7a775695166689e5bf701bcec4f81.zip
p2p/discv5: added new topic discovery package
Diffstat (limited to 'les/server.go')
-rw-r--r--les/server.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/les/server.go b/les/server.go
index bc5dd0837..874586a7e 100644
--- a/les/server.go
+++ b/les/server.go
@@ -66,8 +66,9 @@ func (s *LesServer) Protocols() []p2p.Protocol {
return s.protocolManager.SubProtocols
}
-func (s *LesServer) Start() {
- s.protocolManager.Start()
+func (s *LesServer) Start(srvr *p2p.Server) {
+ s.protocolManager.Start(srvr)
+
}
func (s *LesServer) Stop() {