From 95454e147c1748da8b60a2921f084c927ea7ae3e Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Thu, 18 Feb 2016 18:20:41 -0800 Subject: BREAKING: don't emit 'peer' event for invalid peers --- test/node/blocklist-tracker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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) }) -- cgit v1.2.3