mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-16 17:27:37 +00:00
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:
parent
d07efc81ca
commit
89cb216bbf
1 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue