From c8c8736cf3220b86df0999c8e61a2b6148c086f7 Mon Sep 17 00:00:00 2001 From: selsta Date: Sat, 8 May 2021 16:45:10 +0200 Subject: [PATCH] js: fix getApproximateBlockchainHeight (testnet) --- js/Wizard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/Wizard.js b/js/Wizard.js index d7f661a1..61ac105d 100644 --- a/js/Wizard.js +++ b/js/Wizard.js @@ -155,7 +155,7 @@ function getApproximateBlockchainHeight(_date, _nettype){ if(_nettype == "Testnet"){ // testnet got some huge rollbacks, so the estimation is way off - var approximateTestnetRolledBackBlocks = 303967; + var approximateTestnetRolledBackBlocks = 342100; if(approxBlockchainHeight > approximateTestnetRolledBackBlocks) approxBlockchainHeight -= approximateTestnetRolledBackBlocks }