From f55e84192bde9ae4a92c8add222a6a8086d6965c Mon Sep 17 00:00:00 2001 From: Alan Shaw Date: Fri, 10 Aug 2018 17:08:32 +0100 Subject: [PATCH 1/2] fix: enable tests in node that were not being included License: MIT Signed-off-by: Alan Shaw --- test/core/node.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/core/node.js b/test/core/node.js index dbe473c458..be56f4b53c 100644 --- a/test/core/node.js +++ b/test/core/node.js @@ -1,5 +1,8 @@ 'use strict' +require('./circuit-relay') +require('./key-exchange') require('./pin') require('./pin-set') // require('./key-exchange') +require('./utils') From 051c5507f7b38e498982ed60e438a1c8c6e2e470 Mon Sep 17 00:00:00 2001 From: Vasco Santos Date: Tue, 28 Aug 2018 10:20:43 +0100 Subject: [PATCH 2/2] 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) {