1 parent 8e9ecff commit e777e7aCopy full SHA for e777e7a
1 file changed
lib/services/transaction/index.js
@@ -363,11 +363,12 @@ TransactionService.prototype.onBlock = function(block, callback) {
363
return callback();
364
}
365
366
- async.mapSeries(block.txs, function(tx, next) {
367
-
+ block.txs.forEach(function (tx) {
368
processedTxs[tx.txid()] = tx;
369
- self._processTransaction(tx, { block: block, processedTxs: processedTxs }, next);
+ });
370
+ async.mapSeries(block.txs, function(tx, next) {
371
+ self._processTransaction(tx, { block: block, processedTxs: processedTxs }, next);
372
}, function(err, operations) {
373
374
if (err) {
0 commit comments