allow tip block to be "burried" with 100 blocks in testnet
This commit is contained in:
parent
d0f99b9daa
commit
7c0e34e6c3
@ -254,7 +254,7 @@ HistoricSync.prototype.updateStartBlock = function(opts, next) {
|
|||||||
var ret = false;
|
var ret = false;
|
||||||
|
|
||||||
var d = Math.abs(height - blockInfo.height);
|
var d = Math.abs(height - blockInfo.height);
|
||||||
var limit = self.network == 'livenet' ? 6 : 60;
|
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 tip height differs by %d. Please delete and resync (-D)', d);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user