Skip to content

Commit

Permalink
slight cleanup
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Jeromy <[email protected]>
  • Loading branch information
whyrusleeping committed Dec 5, 2015
1 parent e81235d commit 559860c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions merkledag/merkledag.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 559860c

Please sign in to comment.