Skip to content

Commit

Permalink
fix(merkledag) return static error
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Tiger Chow committed Oct 28, 2014
1 parent edbaa3f commit 9a9dc92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion merkledag/merkledag.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func (n *Node) RemoveNodeLink(name string) error {
return nil
}
}
return fmt.Errorf("merkledag: %s not found", name)
return ErrNotFound
}

// Copy returns a copy of the node.
Expand Down

0 comments on commit 9a9dc92

Please sign in to comment.