不再保存本地密码

This commit is contained in:
zhl 2023-05-17 11:46:38 +08:00
parent 8c43cfe55a
commit eb045cc5c9
2 changed files with 0 additions and 2 deletions

1
src/JCWallet.d.ts vendored
View File

@ -28,7 +28,6 @@ declare namespace jsb {
export function scanQRCode(id: number, title: string); export function scanQRCode(id: number, title: string);
export function hexDeflate(str: string): string; export function hexDeflate(str: string): string;
export function hexInflate(str: string): string; export function hexInflate(str: string): string;
export function storeLocalPass(pass: string): void;
export function hashSvrPass(pass: string): string; export function hashSvrPass(pass: string): string;
export function verifyLocalPass(pass: string): boolean; export function verifyLocalPass(pass: string): boolean;
export function walletEncrypt(str: string): string; export function walletEncrypt(str: string): string;

View File

@ -107,7 +107,6 @@ export async function loadInternalWallet(pass: string) {
retry(() => uploadWalletInfo({ address }), MAX_UPLOAD_COUNT); retry(() => uploadWalletInfo({ address }), MAX_UPLOAD_COUNT);
} }
walletEnv.address = address; walletEnv.address = address;
jsb.storeLocalPass(pass);
return address; return address;
} }