diff options
author | Felix Lange <fjl@twurst.com> | 2016-11-14 23:56:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-14 23:56:27 +0800 |
commit | d89ea3e6f90c32a97bad58b82a15af0d81f4250e (patch) | |
tree | 9acc32d1edca04b8a2b2894b3177f31c78f8298f /les/handler.go | |
parent | ca73dea3b9bcdf3b5424b5c48c70817439e2e304 (diff) | |
parent | b10bcd924ba79f9faa5b8f2d273a7ee02d7b89f5 (diff) | |
download | go-tangerine-d89ea3e6f90c32a97bad58b82a15af0d81f4250e.tar go-tangerine-d89ea3e6f90c32a97bad58b82a15af0d81f4250e.tar.gz go-tangerine-d89ea3e6f90c32a97bad58b82a15af0d81f4250e.tar.bz2 go-tangerine-d89ea3e6f90c32a97bad58b82a15af0d81f4250e.tar.lz go-tangerine-d89ea3e6f90c32a97bad58b82a15af0d81f4250e.tar.xz go-tangerine-d89ea3e6f90c32a97bad58b82a15af0d81f4250e.tar.zst go-tangerine-d89ea3e6f90c32a97bad58b82a15af0d81f4250e.zip |
Merge pull request #3253 from zsfelfoldi/light-topic3
Light client bugfixes and updates
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() { |