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
b1e1ba8a
Commit
b1e1ba8a
authored
Dec 15, 2014
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup from CR
parent
74915efd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
merkledag.go
merkledag.go
+2
-6
No files found.
merkledag.go
View file @
b1e1ba8a
...
...
@@ -331,14 +331,10 @@ func (ds *dagService) GetDAG(ctx context.Context, root *Node) <-chan *Node {
nodes
[
i
]
=
nd
}
if
next
==
is
[
0
]
{
sig
<-
nd
next
++
for
;
next
<
len
(
nodes
)
&&
nodes
[
next
]
!=
nil
;
next
++
{
sig
<-
nodes
[
next
]
}
}
}
if
next
<
len
(
nodes
)
{
// TODO: bubble errors back up.
log
.
Errorf
(
"Did not receive correct number of nodes!"
)
...
...
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