mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
swarm/network: eachBin now starts at kaddepth for nn
This commit is contained in:
parent
7dbb075c07
commit
80d402ac46
1 changed files with 1 additions and 0 deletions
|
|
@ -373,6 +373,7 @@ func (k *Kademlia) EachBin(base []byte, pof pot.Pof, o int, eachBinFunc func(con
|
||||||
if po < kadDepth {
|
if po < kadDepth {
|
||||||
endPo = po
|
endPo = po
|
||||||
} else {
|
} else {
|
||||||
|
startPo = kadDepth
|
||||||
endPo = k.MaxProxDisplay
|
endPo = k.MaxProxDisplay
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue