@cryptotaxi247 / kubo / commits / d54c6eb46

fix FindLinks comment

Jeromy committed Dec 15, 2014 at 05:04 UTC d54c6eb46bb4a5b8b48e790a683457119934cf5b
1 file changed +2 -2
merkledag/merkledag.go
+2 -2
@@ -290,8 +290,8 @@ func FetchGraph(ctx context.Context, root *Node, serv DAGService) chan struct{}
290 return done
291 }
292
293 -// Searches this nodes links for one to the given key,
294 -// returns the index of said link
293 +// FindLinks searches this nodes links for the given key,
294 +// returns the indexes of any links pointing to it
295 func FindLinks(n *Node, k u.Key) []int {
296 var out []int
297 for i, lnk := range n.Links {