swarm/network: eachBin now starts at kaddepth for nn

This commit is contained in:
Fabio Barone 2018-12-11 20:46:18 -05:00
parent 7dbb075c07
commit 80d402ac46

View file

@ -373,6 +373,7 @@ func (k *Kademlia) EachBin(base []byte, pof pot.Pof, o int, eachBinFunc func(con
if po < kadDepth {
endPo = po
} else {
startPo = kadDepth
endPo = k.MaxProxDisplay
}