MCPcopy
hub / github.com/bitpay/wallet / checkWallet

Method checkWallet

src/providers/touchid/touchid.ts:63–69  ·  view source on GitHub ↗
(wallet)

Source from the content-addressed store, hash-verified

61 }
62
63 public checkWallet(wallet): Promise<any> {
64 return this.isAvailable().then((isAvailable: boolean) => {
65 if (!isAvailable) return undefined;
66 if (this.isNeeded(wallet)) return this.check();
67 return undefined;
68 });
69 }
70
71 public getIosBiometricMethod(): string {
72 return this.iosBiometricMethod;

Callers 3

touchid.spec.tsFile · 0.80
prepareMethod · 0.80
setTouchIdMethod · 0.80

Calls 3

isAvailableMethod · 0.95
isNeededMethod · 0.95
checkMethod · 0.95

Tested by

no test coverage detected