Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
chore: apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
  • Loading branch information
vasco-santos and jacobheun authored Apr 21, 2020
1 parent 21a63cb commit 74c7422
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ class PubsubBaseProtocol extends EventEmitter {
this.log.err = debug(`${debugName}:error`)

this.multicodecs = utils.ensureArray(multicodecs)
this.signMessages = peerId
this.registrar = registrar

this.started = false
Expand Down
2 changes: 1 addition & 1 deletion src/peer.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Peer extends EventEmitter {
* @param {PeerId} id
* @param {Array<string>} protocols
*/
constructor (id, protocols) {
constructor ({ id, protocols }) {
super()

/**
Expand Down

0 comments on commit 74c7422

Please sign in to comment.