From 629a722c95b5299324e93284b9ddd03c04233e38 Mon Sep 17 00:00:00 2001 From: Vasco Santos Date: Tue, 28 Aug 2018 10:20:43 +0100 Subject: [PATCH] fix: resolvePath util multihash --- src/core/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/utils.js b/src/core/utils.js index 7b3b992b26..152f582202 100644 --- a/src/core/utils.js +++ b/src/core/utils.js @@ -109,7 +109,7 @@ const resolvePath = promisify(function (objectAPI, ipfsPaths, callback) { return cb(null, rootHash.buffer) } - objectAPI.get(rootHash, follow.bind(null, rootLinks)) + objectAPI.get(rootHash.multihash, follow.bind(null, rootLinks)) // recursively follow named links to the target node function follow (links, err, obj) {