Commit dd6d7fb6 authored by Brian Tiger Chow's avatar Brian Tiger Chow

refactor(merkledag) use one-off error

parent a967e017
......@@ -103,7 +103,7 @@ func (n *Node) RemoveNodeLink(name string) error {
return nil
}
}
return u.ErrNotFound
return fmt.Errorf("merkledag: %s not found", name)
}
// Copy returns a copy of the node.
......
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