codestyle

This commit is contained in:
David Dias
2016-03-10 19:43:23 +00:00
parent b692394116
commit d4c3de1ecb

View File

@ -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)