From 7fe2ad6884bde93b4fd07c17dda78f89f5d4ba5a Mon Sep 17 00:00:00 2001 From: Juan Batiz-Benet Date: Mon, 13 Oct 2014 02:29:33 -0700 Subject: [PATCH] add plumbing output + logging Fixes #157 Found #158 --- merkledag.go | 1 + 1 file changed, 1 insertion(+) diff --git a/merkledag.go b/merkledag.go index f0c93ad63d62..46b0c4089119 100644 --- a/merkledag.go +++ b/merkledag.go @@ -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