wrap tx properly again.

This commit is contained in:
Christopher Jeffrey 2014-09-25 13:50:47 -07:00
parent 72d3226564
commit 5b19f2993e
1 changed files with 1 additions and 0 deletions

View File

@ -186,6 +186,7 @@ Bitcoin.prototype._pollBlocks = function() {
self.emit('block', block);
return utils.forEach(block.tx, function(tx, nextTx) {
tx = bitcoin.tx(tx);
self.emit('tx', tx);
return setImmediate(function() {
return nextTx();