mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-06-28 16:31:35 +00:00
chore: apply suggestions from code review
This commit is contained in:
@ -38,7 +38,7 @@ class PeerStore extends EventEmitter {
|
||||
/**
|
||||
* @constructor
|
||||
*/
|
||||
constructor ({ peerId } = {}) {
|
||||
constructor ({ peerId }) {
|
||||
super()
|
||||
|
||||
this._peerId = peerId
|
||||
|
Reference in New Issue
Block a user