diff --git a/lib/torrent.js b/lib/torrent.js
index <HASH>..<HASH> 100644
--- a/lib/torrent.js
+++ b/lib/torrent.js
@@ -395,8 +395,8 @@ Torrent.prototype.addPeer = function (peer) {
   var self = this
 
   function addPeer () {
-    self.emit('peer', peer)
     self.swarm.addPeer(peer)
+    self.emit('peer', peer)
   }
 
   // TODO: extract IP address from peer object and check blocklist
emit 'peer' event later