Commit 03fab00c authored by Jeromy's avatar Jeromy

dagservice interface fix

parent 63e2295d
...@@ -242,7 +242,7 @@ func (n *dagService) Remove(nd *Node) error { ...@@ -242,7 +242,7 @@ func (n *dagService) Remove(nd *Node) error {
return n.Blocks.DeleteBlock(k) return n.Blocks.DeleteBlock(k)
} }
func FetchGraph(ctx context.Context, root *Node, serv *DAGService) { func FetchGraph(ctx context.Context, root *Node, serv DAGService) {
for _, l := range root.Links { for _, l := range root.Links {
go func(lnk *Link) { go func(lnk *Link) {
select { select {
......
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