mirror of
https://github.com/fluencelabs/js-peer-id
synced 2025-06-25 22:51:54 +00:00
codestyle
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user