diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2016-02-19 05:20:41 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2016-02-19 05:20:41 +0300 |
commit | 95454e147c1748da8b60a2921f084c927ea7ae3e (patch) | |
tree | 7fdff97605b9b79a94e93c669c7877ecc1931a6c /test | |
parent | 42f94e89b66f39d5f0079d7d22f902f4b2013ad3 (diff) |
BREAKING: don't emit 'peer' event for invalid peers
Diffstat (limited to 'test')
-rw-r--r-- | test/node/blocklist-tracker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/node/blocklist-tracker.js b/test/node/blocklist-tracker.js index 90ac3be..cac9468 100644 --- a/test/node/blocklist-tracker.js +++ b/test/node/blocklist-tracker.js @@ -41,7 +41,7 @@ test('blocklist blocks peers discovered via tracker', function (t) { var torrent1 = client1.add(parsedTorrent) - torrent1.on('peer', function () { + torrent1.on('invalidPeer', function () { t.pass('client1 found itself') cb(null) }) |