From 82dce24224371f4bd88eae694d1c197c2bffe728 Mon Sep 17 00:00:00 2001 From: John Smith Date: Fri, 5 Aug 2022 08:57:53 -0400 Subject: [PATCH] deadlock --- veilid-core/src/routing_table/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/veilid-core/src/routing_table/mod.rs b/veilid-core/src/routing_table/mod.rs index 816fdf6f..d451e4f1 100644 --- a/veilid-core/src/routing_table/mod.rs +++ b/veilid-core/src/routing_table/mod.rs @@ -550,7 +550,7 @@ impl RoutingTable { pub fn lookup_node_ref(&self, node_id: DHTKey) -> Option { let inner = self.inner.read(); - if node_id == self.node_id() { + if node_id == inner.node_id { log_rtab!(debug "can't look up own node id in routing table"); return None; }