From eb045cc5c967dcdc921913d7b1fe7ee7a80510b1 Mon Sep 17 00:00:00 2001 From: zhl Date: Wed, 17 May 2023 11:46:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E5=86=8D=E4=BF=9D=E5=AD=98=E6=9C=AC?= =?UTF-8?q?=E5=9C=B0=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/JCWallet.d.ts | 1 - src/manage/WalletManage.ts | 1 - 2 files changed, 2 deletions(-) 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; }