wrap tx properly again.
This commit is contained in:
parent
72d3226564
commit
5b19f2993e
@ -186,6 +186,7 @@ Bitcoin.prototype._pollBlocks = function() {
|
|||||||
self.emit('block', block);
|
self.emit('block', block);
|
||||||
|
|
||||||
return utils.forEach(block.tx, function(tx, nextTx) {
|
return utils.forEach(block.tx, function(tx, nextTx) {
|
||||||
|
tx = bitcoin.tx(tx);
|
||||||
self.emit('tx', tx);
|
self.emit('tx', tx);
|
||||||
return setImmediate(function() {
|
return setImmediate(function() {
|
||||||
return nextTx();
|
return nextTx();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user