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 7240f4d800
commit 426b64dd70

View file

@ -375,6 +375,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
}