feat: add wallet deletion from settings (closes #13) #14
@@ -283,7 +283,7 @@ function init(ctx) {
|
||||
|
||||
// Verify password against the wallet's encrypted data
|
||||
try {
|
||||
await decryptWithPassword(wallet.encrypted, pw);
|
||||
await decryptWithPassword(wallet.encryptedSecret, pw);
|
||||
} catch (_e) {
|
||||
showFlash("Wrong password.");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user