MCPcopy Create free account
hub / github.com/bitpay/bitcore / isWalletEncrypted

Method isWalletEncrypted

packages/bitcore-cli/src/wallet.ts:686–688  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

684 }
685
686 isWalletEncrypted() {
687 return this.#walletData.key.isPrivKeyEncrypted() || (this.#walletData.key as TssKey.TssKey).isKeyChainEncrypted?.();
688 }
689
690 isUtxo() {
691 return BWCUtils.isUtxoChain(this.chain);

Callers 1

getPasswordWithRetryMethod · 0.95

Calls 2

isPrivKeyEncryptedMethod · 0.80
isKeyChainEncryptedMethod · 0.80

Tested by

no test coverage detected