chore: typo publick -> public (#108)

This commit is contained in:
Christian Paul 2019-11-28 11:39:55 +01:00 committed by Vasco Santos
parent b5335cd4ee
commit 74cdb24544

View File

@ -127,7 +127,7 @@ const PeerId = require('peer-id')
### `new PeerId(id[, privKey, pubKey])` ### `new PeerId(id[, privKey, pubKey])`
- `id: Buffer` - The multihash of the publick key as `Buffer` - `id: Buffer` - The multihash of the public key as `Buffer`
- `privKey: RsaPrivateKey` - The private key - `privKey: RsaPrivateKey` - The private key
- `pubKey: RsaPublicKey` - The public key - `pubKey: RsaPublicKey` - The public key