diff --git a/src/JCWallet.d.ts b/src/JCWallet.d.ts index 3fc4d7c..8810f09 100644 --- a/src/JCWallet.d.ts +++ b/src/JCWallet.d.ts @@ -28,7 +28,6 @@ declare namespace jsb { export function scanQRCode(id: number, title: string); export function hexDeflate(str: string): string; export function hexInflate(str: string): string; - export function storeLocalPass(pass: string): void; export function hashSvrPass(pass: string): string; export function verifyLocalPass(pass: string): boolean; export function walletEncrypt(str: string): string; diff --git a/src/manage/WalletManage.ts b/src/manage/WalletManage.ts index 7c0b835..5c1f27f 100644 --- a/src/manage/WalletManage.ts +++ b/src/manage/WalletManage.ts @@ -107,7 +107,6 @@ export async function loadInternalWallet(pass: string) { retry(() => uploadWalletInfo({ address }), MAX_UPLOAD_COUNT); } walletEnv.address = address; - jsb.storeLocalPass(pass); return address; }