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 16:18:46 +02:00
committed by GitHub
parent d07efc81ca
commit 89cb216bbf
+3
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,