diff --git a/src/index.js b/src/index.js index b855374..6695bc6 100644 --- a/src/index.js +++ b/src/index.js @@ -112,7 +112,7 @@ exports.create = function () { // store the keys as a buffer const bufProtoPub64 = new Buffer(protoPublic64, 'base64') const bufProtoPriv64 = new Buffer(protoPrivate64, 'base64') - + const mhId = multihashing(new Buffer(protoPublic64, 'base64'), 'sha2-256') return new Id(mhId, bufProtoPriv64, bufProtoPub64)