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) { 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')