Skip to content

Commit 6f9a8a7

Browse files
committed
add todo: cannot update when no mnemonic wallets
1 parent fc9279b commit 6f9a8a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/background/Wallet/Wallet.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ export class Wallet {
306306
newCredentials,
307307
});
308308
this.userCredentials = newCredentials;
309+
// TODO: we need "updateWalletStore" to re-encrypt the record even if it's not changed
309310
await this.updateWalletStore(this.record);
310311
this.setExpirationForSeedPhraseEncryptionKey(1000 * 120);
311312
}

0 commit comments

Comments
 (0)