Commit 36c9cf5b authored by Jeromy's avatar Jeromy

slight cleanup

License: MIT
Signed-off-by: default avatarJeromy <jeromyj@gmail.com>
parent 8da09c77
......@@ -3,7 +3,6 @@ package merkledag
import (
"fmt"
"time"
"github.com/ipfs/go-ipfs/Godeps/_workspace/src/golang.org/x/net/context"
blocks "github.com/ipfs/go-ipfs/blocks"
......@@ -49,14 +48,6 @@ func (n *dagService) Add(nd *Node) (key.Key, error) {
if n == nil { // FIXME remove this assertion. protect with constructor invariant
return "", fmt.Errorf("dagService is nil")
}
/*
start := time.Now()
defer func() {
took := time.Now().Sub(start)
log.Error("add took: %s", took)
}()
*/
_ = time.Saturday
d, err := nd.Encoded(false)
if err != nil {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment