diff options
author | Zsolt Felfoldi <zsfelfoldi@gmail.com> | 2016-11-13 04:02:02 +0800 |
---|---|---|
committer | Zsolt Felfoldi <zsfelfoldi@gmail.com> | 2016-11-14 20:22:19 +0800 |
commit | e33e57684fcd364900a896aa3e759bf4821c02e1 (patch) | |
tree | 468ce7630903528a4f4082936bae659816976ec5 /les/handler.go | |
parent | a0c6649960bb4b1155181915d898d066af00a8cb (diff) | |
download | go-tangerine-e33e57684fcd364900a896aa3e759bf4821c02e1.tar go-tangerine-e33e57684fcd364900a896aa3e759bf4821c02e1.tar.gz go-tangerine-e33e57684fcd364900a896aa3e759bf4821c02e1.tar.bz2 go-tangerine-e33e57684fcd364900a896aa3e759bf4821c02e1.tar.lz go-tangerine-e33e57684fcd364900a896aa3e759bf4821c02e1.tar.xz go-tangerine-e33e57684fcd364900a896aa3e759bf4821c02e1.tar.zst go-tangerine-e33e57684fcd364900a896aa3e759bf4821c02e1.zip |
p2p/discv5: fixed bootnode connect issues
Diffstat (limited to 'les/handler.go')
-rw-r--r-- | les/handler.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/les/handler.go b/les/handler.go index a51358676..83d73666f 100644 --- a/les/handler.go +++ b/les/handler.go @@ -240,6 +240,7 @@ func (pm *ProtocolManager) findServers() { if pm.p2pServer == nil || pm.topicDisc == nil { return } + glog.V(logger.Debug).Infoln("Looking for topic", string(pm.lesTopic)) enodes := make(chan string, 100) stop := make(chan struct{}) go pm.topicDisc.SearchTopic(pm.lesTopic, stop, enodes) @@ -280,9 +281,9 @@ func (pm *ProtocolManager) Start(srvr *p2p.Server) { } else { if pm.topicDisc != nil { go func() { - glog.V(logger.Debug).Infoln("Starting topic register") + glog.V(logger.Debug).Infoln("Starting registering topic", string(pm.lesTopic)) pm.topicDisc.RegisterTopic(pm.lesTopic, pm.quitSync) - glog.V(logger.Debug).Infoln("Stopped topic register") + glog.V(logger.Debug).Infoln("Stopped registering topic", string(pm.lesTopic)) }() } go func() { |