emit parsed properly.

This commit is contained in:
Christopher Jeffrey 2014-10-27 14:55:48 -07:00
parent de392ca57c
commit effda10901
1 changed files with 4 additions and 1 deletions

View File

@ -192,7 +192,10 @@ Bitcoin.prototype.start = function(options, callback) {
} }
self.emit(packet.name, packet); self.emit(packet.name, packet);
self.emit('parsed', packet); self.emit('parsed',
packet.addresses
|| packet.block
|| packet.tx);
}); });
}); });
}, 50); }, 50);