diff --git a/mesh/routes.go b/mesh/routes.go index f2a27ecd..95f110ab 100644 --- a/mesh/routes.go +++ b/mesh/routes.go @@ -92,6 +92,7 @@ func (routes *Routes) lookupOrCalculate(name PeerName, broadcast *broadcastRoute routes.RUnlock() if found { res <- hops + return } routes.peers.RLock() routes.ourself.RLock()