oops
This commit is contained in:
1 parent
8846274c42
commit
373f8a4463
1 file changed
+1
@@ -92,6 +92,7 @@ func (routes *Routes) lookupOrCalculate(name PeerName, broadcast *broadcastRoute
|
|||||||
routes.RUnlock()
|
routes.RUnlock()
|
||||||
if found {
|
if found {
|
||||||
res <- hops
|
res <- hops
|
||||||
|
return
|
||||||
}
|
}
|
||||||
routes.peers.RLock()
|
routes.peers.RLock()
|
||||||
routes.ourself.RLock()
|
routes.ourself.RLock()
|
||||||
|
|||||||
Reference in new issue
Block a user