aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-05-12 23:27:10 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-05-12 23:27:10 -0500
commit6b580cbb00e2b97fb3af6450288be8453c73f316 (patch)
tree82ffc552e97024f5b5f27958166907ff84471dc4
parentcb33fe2fc0f4492ae3838597dd40d5a0fee00fde (diff)
parentc8c8736cf3220b86df0999c8e61a2b6148c086f7 (diff)
downloadmonzero-gui-6b580cbb00e2b97fb3af6450288be8453c73f316.tar.gz
monzero-gui-6b580cbb00e2b97fb3af6450288be8453c73f316.tar.xz
monzero-gui-6b580cbb00e2b97fb3af6450288be8453c73f316.zip
Merge pull request #3467
c8c8736 js: fix getApproximateBlockchainHeight (testnet) (selsta)
-rw-r--r--js/Wizard.js2
1 files changed, 1 insertions, 1 deletions
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
}