FIX: wallet duplicates (happens when opening deeplinks)

This commit is contained in:
Overtorment 2018-12-31 16:20:49 +00:00
parent 354a5828ca
commit e3c44d13f8

View File

@ -12,6 +12,11 @@ let A = require('./analytics');
let BlueApp = new AppStorage();
async function startAndDecrypt(retry) {
console.log('startAndDecrypt');
if (BlueApp.getWallets().length > 0) {
console.log('App already has some wallets, so we are in already started state, exiting startAndDecrypt');
return;
}
let password = false;
if (await BlueApp.storageIsEncrypted()) {
do {