This commit is contained in:
Matthias Radestock committed 2015-12-24 21:23:35 +00:00
1 parent 8846274c42
commit 373f8a4463
1 file changed
+1
+1
View File
@@ -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()