remote low SnR debug statement

cc @jbenet @whyrusleeping

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
This commit is contained in:
Brian Tiger Chow 2014-12-18 18:50:13 -05:00 committed by Juan Batiz-Benet
parent 944d60e08e
commit 4fa347c808

View File

@ -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")
}