mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-27 13:27:50 +08:00
remote low SnR debug statement
cc @jbenet @whyrusleeping License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
This commit is contained in:
parent
944d60e08e
commit
4fa347c808
@ -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")
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user