Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

Commit

Permalink
fix: remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkmc authored and jacobheun committed Nov 27, 2018
1 parent e9f9fe1 commit f3e1dc4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/listener.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,7 @@ class Listener extends EE {
}

if (this.signature) {
this._join((err, needNewChallenge) => {
if (needNewChallenge) {
return this.cryptoChallenge(cb)
}
cb(err)
})
this._join(cb)
} else {
this._cryptoChallenge(cb)
}
Expand Down

0 comments on commit f3e1dc4

Please sign in to comment.