Skip to content

Commit

Permalink
add plumbing output + logging
Browse files Browse the repository at this point in the history
Fixes ipfs#157
Found ipfs#158
  • Loading branch information
jbenet committed Oct 13, 2014
1 parent f7fa0f6 commit 7fe2ad6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions merkledag.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ func (n *Node) Size() (uint64, error) {

// Multihash hashes the encoded data of this node.
func (n *Node) Multihash() (mh.Multihash, error) {
// Note: Encoded generates the hash and puts it in n.cached.
_, err := n.Encoded(false)
if err != nil {
return nil, err
Expand Down

0 comments on commit 7fe2ad6

Please sign in to comment.