chaindb: scan logs.
This commit is contained in:
parent
817a6c3031
commit
870f6e65b4
@ -1160,7 +1160,9 @@ ChainDB.prototype.scan = function scan(start, hashes, iter, callback) {
|
|||||||
if (!block)
|
if (!block)
|
||||||
return next();
|
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) {
|
utils.forEachSerial(block.txs, function(tx, next) {
|
||||||
var hashes = tx.getHashes('hex');
|
var hashes = tx.getHashes('hex');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user