Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-merkledag
Commits
00d312ea
Commit
00d312ea
authored
Feb 25, 2016
by
Mildred Ki'Lya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove GetCachedNode()
License: MIT Signed-off-by:
Mildred Ki'Lya
<
mildred-pub.git@mildred.fr
>
parent
7ab5f1f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
node.go
node.go
+0
-5
No files found.
node.go
View file @
00d312ea
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment