MCPcopy Create free account
hub / github.com/ElementsProject/elements / HasWalletDescriptor

Method HasWalletDescriptor

src/wallet/scriptpubkeyman.cpp:2291–2295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2289}
2290
2291bool DescriptorScriptPubKeyMan::HasWalletDescriptor(const WalletDescriptor& desc) const
2292{
2293 LOCK(cs_desc_man);
2294 return m_wallet_descriptor.descriptor != nullptr && desc.descriptor != nullptr && m_wallet_descriptor.descriptor->ToString() == desc.descriptor->ToString();
2295}
2296
2297void DescriptorScriptPubKeyMan::WriteDescriptor()
2298{

Callers 1

Calls 1

ToStringMethod · 0.45

Tested by

no test coverage detected