移除一些敏感信息打印
This commit is contained in:
parent
eb045cc5c9
commit
a08c12c535
1
src/JCWallet.d.ts
vendored
1
src/JCWallet.d.ts
vendored
@ -29,7 +29,6 @@ declare namespace jsb {
|
||||
export function hexDeflate(str: string): string;
|
||||
export function hexInflate(str: string): string;
|
||||
export function hashSvrPass(pass: string): string;
|
||||
export function verifyLocalPass(pass: string): boolean;
|
||||
export function walletEncrypt(str: string): string;
|
||||
export function walletDecrypt(str: string): string;
|
||||
export function prepareWallet(
|
||||
|
@ -48,7 +48,6 @@ async function syncWalletEnv() {
|
||||
walletEnv.address = infoRes.data.address;
|
||||
walletEnv.key = infoRes.data.key;
|
||||
walletEnv.salt = infoRes.data.salt;
|
||||
console.log(JSON.stringify(walletEnv));
|
||||
}
|
||||
|
||||
export async function walletPreLogin(channel: number) {
|
||||
@ -112,7 +111,6 @@ export async function loadInternalWallet(pass: string) {
|
||||
|
||||
async function prepareInternalWallet(pass: string) {
|
||||
let walletEnv = new WalletEnv();
|
||||
console.log(JSON.stringify(walletEnv));
|
||||
if (!walletEnv.key) {
|
||||
await syncWalletEnv();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user