mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
swarm/network: Remove log lines
This commit is contained in:
parent
7573dbed00
commit
08eb59bd6a
1 changed files with 0 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue