fix msg
This commit is contained in:
parent
7c0e34e6c3
commit
e67fe245f1
@ -256,7 +256,7 @@ HistoricSync.prototype.updateStartBlock = function(opts, next) {
|
|||||||
var d = Math.abs(height - blockInfo.height);
|
var d = Math.abs(height - blockInfo.height);
|
||||||
var limit = self.network == 'livenet' ? 6 : 100;
|
var limit = self.network == 'livenet' ? 6 : 100;
|
||||||
if (d > limit) {
|
if (d > limit) {
|
||||||
error('Previous Tip block tip height differs by %d. Please delete and resync (-D)', d);
|
error('Previous Tip block height differs by %d. Please delete and resync (-D)', d);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
if (self.blockChainHeight === blockInfo.height ||
|
if (self.blockChainHeight === blockInfo.height ||
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user