Skip to content

Commit e777e7a

Browse files
ordering
1 parent 8e9ecff commit e777e7a

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎lib/services/transaction/index.js‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,11 +363,12 @@ TransactionService.prototype.onBlock = function(block, callback) {
363363
return callback();
364364
}
365365

366-
async.mapSeries(block.txs, function(tx, next) {
367-
366+
block.txs.forEach(function (tx) {
368367
processedTxs[tx.txid()] = tx;
369-
self._processTransaction(tx, { block: block, processedTxs: processedTxs }, next);
368+
});
370369

370+
async.mapSeries(block.txs, function(tx, next) {
371+
self._processTransaction(tx, { block: block, processedTxs: processedTxs }, next);
371372
}, function(err, operations) {
372373

373374
if (err) {

0 commit comments

Comments
 (0)