mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
js: fix getApproximateBlockchainHeight (testnet)
This commit is contained in:
parent
426dc3fa47
commit
c8c8736cf3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue