aboutsummaryrefslogtreecommitdiffstats
path: root/les/handler.go
diff options
context:
space:
mode:
authorZsolt Felfoldi <zsfelfoldi@gmail.com>2016-12-09 16:03:22 +0800
committerZsolt Felfoldi <zsfelfoldi@gmail.com>2016-12-10 16:53:25 +0800
commitc57c54ce96628aeb6345776310123a80593f0143 (patch)
tree1d590f2f0aee32179a57eba5a4886f4296ab1196 /les/handler.go
parentc8130df1d9dcc504244a49cbb12aa4c2848e5de2 (diff)
downloaddexon-c57c54ce96628aeb6345776310123a80593f0143.tar
dexon-c57c54ce96628aeb6345776310123a80593f0143.tar.gz
dexon-c57c54ce96628aeb6345776310123a80593f0143.tar.bz2
dexon-c57c54ce96628aeb6345776310123a80593f0143.tar.lz
dexon-c57c54ce96628aeb6345776310123a80593f0143.tar.xz
dexon-c57c54ce96628aeb6345776310123a80593f0143.tar.zst
dexon-c57c54ce96628aeb6345776310123a80593f0143.zip
eth, les: defer starting LES service until ETH initial sync is finished
Diffstat (limited to 'les/handler.go')
-rw-r--r--les/handler.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/les/handler.go b/les/handler.go
index 3fc80e19a..048f30217 100644
--- a/les/handler.go
+++ b/les/handler.go
@@ -267,9 +267,9 @@ func (pm *ProtocolManager) Start(srvr *p2p.Server) {
} else {
if topicDisc != nil {
go func() {
- glog.V(logger.Debug).Infoln("Starting registering topic", string(lesTopic))
+ glog.V(logger.Info).Infoln("Starting registering topic", string(lesTopic))
topicDisc.RegisterTopic(lesTopic, pm.quitSync)
- glog.V(logger.Debug).Infoln("Stopped registering topic", string(lesTopic))
+ glog.V(logger.Info).Infoln("Stopped registering topic", string(lesTopic))
}()
}
go func() {