improve perf of remove_network in foreign net mgr (#1847)

This commit is contained in:
KKRainbow
2026-01-30 23:04:31 +08:00
committed by GitHub
parent acd7c85ff6
commit 9e3c9228bb
9 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ impl ForeignNetworkClient {
}
pub async fn list_public_peers(&self) -> Vec<PeerId> {
self.peer_map.list_peers().await
self.peer_map.list_peers()
}
pub fn get_next_hop(&self, peer_id: PeerId) -> Option<PeerId> {