From 9a9dc926b5bb83b303e8ca5ae144d7fc6e7f9432 Mon Sep 17 00:00:00 2001 From: Brian Tiger Chow <brian.holderchow@gmail.com> Date: Tue, 28 Oct 2014 16:10:17 -0700 Subject: [PATCH] fix(merkledag) return static error --- merkledag/merkledag.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/merkledag/merkledag.go b/merkledag/merkledag.go index c0a37bd24..a7eb05d7c 100644 --- a/merkledag/merkledag.go +++ b/merkledag/merkledag.go @@ -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. -- GitLab