Skip to content
This repository has been archived by the owner on Aug 23, 2019. It is now read-only.

Commit

Permalink
fix(dial): fix typo causing plaintext mode to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed Sep 2, 2016
1 parent 784934d commit 381d3c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dial.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ module.exports = function dial (swarm) {

const id = swarm._peerInfo.id
if (id.privKey == null || swarm.encrypt === false) {
return ms.select(tags.plaintex, cb)
return ms.select(tags.plaintext, cb)
}

ms.select(tags.secio, (err, conn) => {
Expand Down

0 comments on commit 381d3c2

Please sign in to comment.