Alex Cheema 8 tháng trước cách đây
mục cha
commit
a0e083a141
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      exo/networking/grpc/grpc_server.py

+ 1 - 1
exo/networking/grpc/grpc_server.py

@@ -85,7 +85,7 @@ class GRPCServer(node_service_pb2_grpc.NodeServiceServicer):
   async def CollectTopology(self, request, context):
     max_depth = request.max_depth
     visited = set(request.visited)
-    topology = await self.node.collect_topology(visited, max_depth)
+    topology = self.node.current_topology
     nodes = {
       node_id:
         node_service_pb2.DeviceCapabilities(