Browse Source

FIX: Hopeful fix for wallet duplicates

localNotifications
Marcos Rodriguez Vélez 6 years ago
parent
commit
2ba180a4fa
  1. 2
      class/app-storage.js

2
class/app-storage.js

@ -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

Loading…
Cancel
Save