Fix refresh from 0 on creating polyseeds (#1202)

* Fix refresh from 0 on creating polyseeds

* Try to fix refresh from 0 on creating polyseeds
This commit is contained in:
Konstantin Ullrich 2023-11-29 15:18:46 +01:00 committed by GitHub
parent d07efc81ca
commit 89cb216bbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -273,6 +273,9 @@ class MoneroWalletService extends WalletService<
date: DateTime.fromMillisecondsSinceEpoch(polyseed.birthday * 1000));
final spendKey = keyToHexString(polyseed.generateKey(coin, 32));
walletInfo.isRecovery = true;
walletInfo.restoreHeight = height;
await monero_wallet_manager.restoreFromSpendKey(
path: path,
password: password,