@ -174,9 +174,11 @@ export class AppStorage {
break;
}
// done
if (!this.wallets.some(wallet => wallet.getSecret() === unserializedWallet.secret)) {
this.wallets.push(unserializedWallet);
this.tx_metadata = data.tx_metadata;
return true;
} else {
return false; // failed loading data or loading/decryptin data