mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 23:08:07 +01:00
FIX: Unrecognized wallet should not break import flow
This commit is contained in:
parent
67303c1721
commit
3127b7a45e
1 changed files with 4 additions and 2 deletions
|
@ -458,7 +458,9 @@ export class BlueApp {
|
|||
case LegacyWallet.type:
|
||||
default:
|
||||
unserializedWallet = LegacyWallet.fromJson(key) as unknown as LegacyWallet;
|
||||
break;
|
||||
console.log('Unrecognized wallet. Importing as LegacyWallet...')
|
||||
console.debug(tempObj)
|
||||
continue;
|
||||
}
|
||||
|
||||
try {
|
||||
|
@ -478,7 +480,7 @@ export class BlueApp {
|
|||
if (realm) realm.close();
|
||||
return true;
|
||||
} else {
|
||||
return false; // failed loading data or loading/decryptin data
|
||||
return false; // failed loading data or loading/decrypting data
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue