reverting log.info to log.debug

This commit is contained in:
sairajzero 2021-05-24 17:56:13 +05:30
parent 11b0a58351
commit 0cfb80a164

View File

@ -1113,10 +1113,10 @@ BlockService.prototype._sync = function() {
self._processingBlock = true;
log.info('Block Service: querying header service for next block using tip: ' + self._tip.hash);
log.debug('Block Service: querying header service for next block using tip: ' + self._tip.hash);
self._header.getEndHash(self._tip, self._readAheadBlockCount, function(err, targetHash, endHash) {
log.info('Value of targetHash is: ' + targetHash + ' and value of endHash is: ' + endHash + ' and value of self._readAheadBlockCount is: ' + self._readAheadBlockCount);
if(err) {
self._processingBlock = false;
return self._handleError(err);
@ -1135,7 +1135,7 @@ BlockService.prototype._sync = function() {
// then we must assume we've reorg'ed very shortly after
// we made this call and we should re-compute where we are
self._getBlocksTimer = setTimeout(function() {
log.info('Block Service: block timeout, emitting for next block');
log.debug('Block Service: block timeout, emitting for next block');
self._processingBlock = false;
if (!self._reorging) {
self.emit('next block');