swarm/network: Remove log lines

This commit is contained in:
lash 2018-11-09 09:52:32 +01:00
parent 7573dbed00
commit 08eb59bd6a

View file

@ -666,7 +666,6 @@ func (k *Kademlia) full(emptyBins []int) (full bool) {
e := len(emptyBins) e := len(emptyBins)
ok := true ok := true
depth := k.neighbourhoodDepth() depth := k.neighbourhoodDepth()
log.Debug("emptybins", "b", emptyBins, "d", depth)
k.conns.EachBin(k.base, pof, 0, func(po, _ int, _ func(func(val pot.Val, i int) bool) bool) bool { k.conns.EachBin(k.base, pof, 0, func(po, _ int, _ func(func(val pot.Val, i int) bool) bool) bool {
if po >= depth { if po >= depth {
return false return false
@ -676,7 +675,6 @@ func (k *Kademlia) full(emptyBins []int) (full bool) {
} }
for i := prev; i < po; i++ { for i := prev; i < po; i++ {
e-- e--
log.Debug("e", "e", e)
if e < 0 { if e < 0 {
ok = false ok = false
return false return false