diff options
author | Zsolt Felfoldi <zsfelfoldi@gmail.com> | 2016-12-09 16:03:22 +0800 |
---|---|---|
committer | Zsolt Felfoldi <zsfelfoldi@gmail.com> | 2016-12-10 16:53:25 +0800 |
commit | c57c54ce96628aeb6345776310123a80593f0143 (patch) | |
tree | 1d590f2f0aee32179a57eba5a4886f4296ab1196 /les/handler.go | |
parent | c8130df1d9dcc504244a49cbb12aa4c2848e5de2 (diff) | |
download | dexon-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.go | 4 |
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() { |