Commit 00d312ea authored by Mildred Ki'Lya's avatar Mildred Ki'Lya

Remove GetCachedNode()

License: MIT
Signed-off-by: default avatarMildred Ki'Lya <mildred-pub.git@mildred.fr>
parent 7ab5f1f6
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment