mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-16 00:43:46 +00:00
swarm/network: Fix locking in Healthy
Signed-off-by: Lewis Marshall <lewis@lmars.net>
This commit is contained in:
parent
720a11184d
commit
e145bda359
1 changed files with 1 additions and 1 deletions
|
|
@ -595,7 +595,7 @@ func (k *Kademlia) gotNearestNeighbours(peers [][]byte) (got bool) {
|
||||||
for _, p := range peers {
|
for _, p := range peers {
|
||||||
pm[string(p)] = true
|
pm[string(p)] = true
|
||||||
}
|
}
|
||||||
k.EachConn(nil, 255, func(p OverlayConn, po int, nn bool) bool {
|
k.eachConn(nil, 255, func(p OverlayConn, po int, nn bool) bool {
|
||||||
if !nn {
|
if !nn {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue