mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 03:49:22 +00:00
clear out null verified wallets on startup
This commit is contained in:
parent
7ad60778aa
commit
57ccfff34f
1 changed files with 9 additions and 2 deletions
|
@ -164,8 +164,15 @@ class Wallets extends ChangeNotifier {
|
|||
try {
|
||||
final walletId = entry.value.walletId;
|
||||
|
||||
final isVerified =
|
||||
await walletsService.isMnemonicVerified(walletId: walletId);
|
||||
late final bool isVerified;
|
||||
try {
|
||||
isVerified =
|
||||
await walletsService.isMnemonicVerified(walletId: walletId);
|
||||
} catch (e, s) {
|
||||
Logging.instance.log("$e $s", level: LogLevel.Warning);
|
||||
isVerified = false;
|
||||
}
|
||||
|
||||
Logging.instance.log(
|
||||
"LOADING WALLET: ${entry.value.toString()} IS VERIFIED: $isVerified",
|
||||
level: LogLevel.Info);
|
||||
|
|
Loading…
Reference in a new issue