mirror of
https://git.wownero.com/wowlet/wowlet.git
synced 2024-08-15 01:03:14 +00:00
fix restore height
This commit is contained in:
parent
ba940d6df4
commit
6241c2e1de
1 changed files with 2 additions and 2 deletions
|
@ -24,8 +24,8 @@ struct RestoreHeightLookup {
|
|||
// date: ((now - lastKnownDate) / blockTime) - clearance
|
||||
|
||||
if(this->type == NetworkType::TESTNET) return 1;
|
||||
int blockTime = 120;
|
||||
int blocksPerDay = 86400 / blockTime;
|
||||
int blockTime = 300;
|
||||
int blocksPerDay = 288;
|
||||
int blockCalcClearance = blocksPerDay * 5;
|
||||
QList<int> values = this->data.keys();
|
||||
if(date <= values.at(0))
|
||||
|
|
Loading…
Reference in a new issue