chaindb: scan logs.

This commit is contained in:
Christopher Jeffrey 2016-08-11 16:59:55 -07:00
parent 817a6c3031
commit 870f6e65b4
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -1160,7 +1160,9 @@ ChainDB.prototype.scan = function scan(start, hashes, iter, callback) {
if (!block)
return next();
self.logger.info('Scanning block %s.', utils.revHex(hash));
self.logger.info('Scanning block %s (%d).',
utils.revHex(hash),
block.height);
utils.forEachSerial(block.txs, function(tx, next) {
var hashes = tx.getHashes('hex');