From d54c6eb46bb4a5b8b48e790a683457119934cf5b Mon Sep 17 00:00:00 2001 From: Jeromy Date: Mon, 15 Dec 2014 05:04:29 +0000 Subject: [PATCH] fix FindLinks comment --- merkledag/merkledag.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/merkledag/merkledag.go b/merkledag/merkledag.go index 4f2efd81d..2b2272cf8 100644 --- a/merkledag/merkledag.go +++ b/merkledag/merkledag.go @@ -290,8 +290,8 @@ func FetchGraph(ctx context.Context, root *Node, serv DAGService) chan struct{} return done } -// Searches this nodes links for one to the given key, -// returns the index of said link +// FindLinks searches this nodes links for the given key, +// returns the indexes of any links pointing to it func FindLinks(n *Node, k u.Key) []int { var out []int for i, lnk := range n.Links {