From 7c0e34e6c3ec63055b6d97bfd7b42a1b8ceb970b Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Tue, 16 Jun 2015 16:23:25 -0300 Subject: [PATCH] allow tip block to be "burried" with 100 blocks in testnet --- lib/HistoricSync.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/HistoricSync.js b/lib/HistoricSync.js index e7b7e0b..015a6ef 100644 --- a/lib/HistoricSync.js +++ b/lib/HistoricSync.js @@ -254,7 +254,7 @@ HistoricSync.prototype.updateStartBlock = function(opts, next) { var ret = false; var d = Math.abs(height - blockInfo.height); - var limit = self.network == 'livenet' ? 6 : 60; + var limit = self.network == 'livenet' ? 6 : 100; if (d > limit) { error('Previous Tip block tip height differs by %d. Please delete and resync (-D)', d); process.exit(1);