提交 1f5b76ac 作者: Mildred Ki'Lya

Remove GetCachedNode()

License: MIT
Signed-off-by: 's avatarMildred Ki'Lya <mildred-pub.git@mildred.fr>
上级 7fc92057
...@@ -76,11 +76,6 @@ func MakeLink(n *Node) (*Link, error) { ...@@ -76,11 +76,6 @@ func MakeLink(n *Node) (*Link, error) {
}, nil }, 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 // GetNode returns the MDAG Node that this link points to
func (l *Link) GetNode(ctx context.Context, serv DAGService) (*Node, error) { func (l *Link) GetNode(ctx context.Context, serv DAGService) (*Node, error) {
if l.node != nil { if l.node != nil {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论