emit parsed properly.
This commit is contained in:
parent
de392ca57c
commit
effda10901
|
@ -192,7 +192,10 @@ Bitcoin.prototype.start = function(options, callback) {
|
|||
}
|
||||
|
||||
self.emit(packet.name, packet);
|
||||
self.emit('parsed', packet);
|
||||
self.emit('parsed',
|
||||
packet.addresses
|
||||
|| packet.block
|
||||
|| packet.tx);
|
||||
});
|
||||
});
|
||||
}, 50);
|
||||
|
|
Loading…
Reference in New Issue