Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
fix: resolvePath util multihash
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos committed Aug 30, 2018
1 parent e9eb82f commit 5130c5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5130c5d

Please sign in to comment.