Skip to content

Commit

Permalink
remote low SnR debug statement
Browse files Browse the repository at this point in the history
cc @jbenet @whyrusleeping

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
  • Loading branch information
Brian Tiger Chow authored and jbenet committed Dec 23, 2014
1 parent d5789de commit b19a931
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions merkledag/merkledag.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,7 @@ type dagService struct {

// Add adds a node to the dagService, storing the block in the BlockService
func (n *dagService) Add(nd *Node) (u.Key, error) {
k, _ := nd.Key()
log.Debugf("DagService Add [%s]", k)
if n == nil {
if n == nil { // FIXME remove this assertion. protect with constructor invariant
return "", fmt.Errorf("dagService is nil")
}

Expand Down

0 comments on commit b19a931

Please sign in to comment.