1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-18 22:17:44 +02:00

Adding new peers up to given depth. Outline of node gaph Update

This commit is contained in:
Milos Gajdos
2019-09-09 18:47:10 +01:00
parent a6668ae057
commit f0a1031e97
5 changed files with 207 additions and 85 deletions

View File

@ -100,7 +100,7 @@ func (n *Network) Neighbourhood(ctx context.Context, req *pbNet.NeighbourhoodReq
}
// creaate neighbourhood answer
neighbourhood := &pbNet.Neighbour{
neighbourhood := &pbNet.Neighbourhood{
Node: node,
Neighbours: neighbours,
}