improve logging on HistoricSync
This commit is contained in:
parent
52671cf093
commit
7a24d3bcd8
|
@ -427,7 +427,8 @@ HistoricSync.prototype.start = function(opts, next) {
|
||||||
else {
|
else {
|
||||||
self.endTs = Date.now();
|
self.endTs = Date.now();
|
||||||
self.status = 'finished';
|
self.status = 'finished';
|
||||||
console.log('Done Syncing', self.info());
|
var info = self.info();
|
||||||
|
logger.debug('Done Syncing blockchain', info.type, 'to height', info.height);
|
||||||
return w_cb(err);
|
return w_cb(err);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue