From 869a7c21b47103e57d61a08ba17331e716e5b69f Mon Sep 17 00:00:00 2001 From: tripathyr Date: Mon, 24 May 2021 16:29:15 +0530 Subject: [PATCH] Converted _sync log.debug to log.info --- lib/services/block/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/services/block/index.js b/lib/services/block/index.js index 73ad6be8..38f90fd8 100644 --- a/lib/services/block/index.js +++ b/lib/services/block/index.js @@ -1113,10 +1113,10 @@ BlockService.prototype._sync = function() { self._processingBlock = true; - log.debug('Block Service: querying header service for next block using tip: ' + self._tip.hash); + log.info('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.debug('Block Service: block timeout, emitting for next block'); + log.info('Block Service: block timeout, emitting for next block'); self._processingBlock = false; if (!self._reorging) { self.emit('next block');