提交 8fa53f81 作者: Jeromy

slight cleanup

License: MIT
Signed-off-by: 's avatarJeromy <jeromyj@gmail.com>
上级 b2b415b5
......@@ -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 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论