@cryptotaxi247 / kubo / commits / 1f5b76ac1

Remove GetCachedNode()

License: MIT Signed-off-by: Mildred Ki'Lya <mildred-pub.git@mildred.fr>

Mildred Ki'Lya committed Feb 25, 2016 at 07:34 UTC 1f5b76ac1825c4d62bf47d0ae2f0f21bdfd40e4a
1 file changed -5
merkledag/node.go
-5
@@ -76,11 +76,6 @@ func MakeLink(n *Node) (*Link, error) {
76 }, nil
77 }
78
79 -// GetCachedNode returns the MDAG Node that was cached, or nil
80 -func (l *Link) GetCachedNode() *Node {
81 - return l.node
82 -}
83 -
79 // GetNode returns the MDAG Node that this link points to
80 func (l *Link) GetNode(ctx context.Context, serv DAGService) (*Node, error) {
81 if l.node != nil {