From 6241c2e1de2cd5dec57181684c0c89b1baac156e Mon Sep 17 00:00:00 2001 From: wowario Date: Sat, 20 Feb 2021 10:42:33 +0300 Subject: [PATCH] fix restore height --- src/utils/RestoreHeightLookup.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/RestoreHeightLookup.h b/src/utils/RestoreHeightLookup.h index 3181df4..882914b 100644 --- a/src/utils/RestoreHeightLookup.h +++ b/src/utils/RestoreHeightLookup.h @@ -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 values = this->data.keys(); if(date <= values.at(0))