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 28, 2018
1 parent 2095dda commit 9e1ac6a
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 @@ -85,7 +85,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 9e1ac6a

Please sign in to comment.