Part deux.
This commit is contained in:
parent
0007848c07
commit
1d7c998468
@ -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);
|
||||
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user