Small formatting changes
This commit is contained in:
parent
f488a02d2d
commit
8715aa5071
@ -952,7 +952,7 @@ HeaderService.prototype._adjustHeadersForCheckPointTip = function(callback) {
|
||||
var start = self._encoding.encodeHeaderHeightKey(self._tip.height);
|
||||
var end = self._encoding.encodeHeaderHeightKey(0xffffffff);
|
||||
|
||||
log.info('Getting last header synced at height: ' + self._tip.height);
|
||||
log.info('Header Service: Getting last header synced at height: ' + self._tip.height);
|
||||
|
||||
var criteria = {
|
||||
gte: start,
|
||||
@ -972,6 +972,7 @@ HeaderService.prototype._adjustHeadersForCheckPointTip = function(callback) {
|
||||
// any records with a height greater than our current tip height can be scheduled for removal
|
||||
// because they will be replaced shortly
|
||||
// and for every height record, we must also remove its hash record
|
||||
|
||||
if (header.height > self._tip.height) {
|
||||
removalOps.push({
|
||||
type: 'del',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user