mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +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 {
|
||||
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 {
|
||||
return false
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue