Wizard: reduce new wallet sync time

This commit is contained in:
tobtoht
2022-02-25 21:22:03 +01:00
parent f816f44f4c
commit f3ef0bd675
6 changed files with 17 additions and 18 deletions
+1
View File
@@ -101,6 +101,7 @@ void Seed::setRestoreHeight(int height) {
void Seed::setRestoreHeight() {
// Ignore the embedded restore date, new wallets should sync from the current block height.
this->restoreHeight = appData()->restoreHeights[networkType]->dateToHeight(this->time);
int a = 0;
}
Seed::Seed() = default;