Merge pull request #3467

c8c8736 js: fix getApproximateBlockchainHeight (testnet) (selsta)
This commit is contained in:
luigi1111
2021-05-12 23:27:10 -05:00

View File

@@ -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
}