不再保存本地密码
This commit is contained in:
parent
8c43cfe55a
commit
eb045cc5c9
1
src/JCWallet.d.ts
vendored
1
src/JCWallet.d.ts
vendored
@ -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;
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user