diff --git a/merkledag/node.go b/merkledag/node.go index b07d64b5b..0a17ccca5 100644 --- a/merkledag/node.go +++ b/merkledag/node.go @@ -76,11 +76,6 @@ func MakeLink(n *Node) (*Link, error) { }, nil } -// GetCachedNode returns the MDAG Node that was cached, or nil -func (l *Link) GetCachedNode() *Node { - return l.node -} - // GetNode returns the MDAG Node that this link points to func (l *Link) GetNode(ctx context.Context, serv DAGService) (*Node, error) { if l.node != nil {