From 7a2a308772352b99fb8744fe13e57ac8b283fde2 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Fri, 12 Oct 2018 15:00:42 +0100 Subject: [PATCH] fix: do not use cid property of DAGNodes just yet --- src/builder/builder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builder/builder.js b/src/builder/builder.js index f0eaf8d0..6400f346 100644 --- a/src/builder/builder.js +++ b/src/builder/builder.js @@ -96,7 +96,7 @@ module.exports = function builder (createChunker, ipld, createReducer, _options) } callback(null, { path: item.path, - multihash: node.cid.buffer, + multihash: node.multihash, size: node.size }) })