diff --git a/src/object/addLink.js b/src/object/addLink.js index 75bb337f4..3659f46f4 100644 --- a/src/object/addLink.js +++ b/src/object/addLink.js @@ -1,7 +1,6 @@ 'use strict' const promisify = require('promisify-es6') -const bs58 = require('bs58') const cleanMultihash = require('../utils/clean-multihash') module.exports = (send) => { @@ -27,7 +26,7 @@ module.exports = (send) => { args: [ multihash, dLink.name, - bs58.encode(dLink.multihash).toString() + cleanMultihash(dLink.multihash) ] }, (err, result) => { if (err) {