Part deux.

This commit is contained in:
Chris Kleeschulte 2017-10-07 15:36:44 -04:00
parent 0007848c07
commit 1d7c998468
No known key found for this signature in database
GPG Key ID: 33195D27EF6BDB7F

View File

@ -852,10 +852,11 @@ BlockService.prototype._logSynced = function(blockHash, noHeight) {
function(next) {
if (noHeight) {
next(null, null);
return next(null, null);
}
self._header.getBlockHeader(blockHash, function(err, header) {
if (err) {
return next(err);
}
@ -892,11 +893,10 @@ BlockService.prototype._logSynced = function(blockHash, noHeight) {
var supplementals = '';
if (blockHeight && timeDiff) {
supplementals += blockHeight + '. Time between the last 2 blocks (adjusted): ' + timeDiff;
supplementals += ' at height: ' + blockHeight + '. Time between the last 2 blocks (adjusted): ' + timeDiff;
}
log.info('Block Service: The best block hash is: ' + blockHash +
' at height: ' + supplementals);
log.info('Block Service: The best block hash is: ' + blockHash + supplementals);
});