From 8eba7da318be337131a82ce1198354ab7e4865ed Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Fri, 11 Apr 2014 21:57:19 -0700 Subject: [PATCH] fix the fix --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 69cfc09..c98cf52 100644 --- a/index.js +++ b/index.js @@ -28,7 +28,7 @@ function Client (peerId, port, torrent, opts) { // required self._peerId = Buffer.isBuffer(peerId) ? peerId - : new Buffer(torrent.peerId, 'utf8') + : new Buffer(peerId, 'utf8') self._port = port self._infoHash = Buffer.isBuffer(torrent.infoHash) ? torrent.infoHash