differnt limit for testnet
This commit is contained in:
parent
86f1a40b9b
commit
d0f99b9daa
@ -254,7 +254,8 @@ HistoricSync.prototype.updateStartBlock = function(opts, next) {
|
||||
var ret = false;
|
||||
|
||||
var d = Math.abs(height - blockInfo.height);
|
||||
if (d > 6) {
|
||||
var limit = self.network == 'livenet' ? 6 : 60;
|
||||
if (d > limit) {
|
||||
error('Previous Tip block tip height differs by %d. Please delete and resync (-D)', d);
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user