mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
Implement IsHDEnabled in DescriptorScriptPubKeyMan
This commit is contained in:
parent
741122d4c1
commit
ec2f9e1178
2 changed files with 5 additions and 3 deletions
|
|
@ -1555,7 +1555,8 @@ void DescriptorScriptPubKeyMan::MarkUnusedAddresses(const CScript& script)
|
|||
|
||||
bool DescriptorScriptPubKeyMan::IsHDEnabled() const
|
||||
{
|
||||
return false;
|
||||
LOCK(cs_desc_man);
|
||||
return m_wallet_descriptor.descriptor->IsRange();
|
||||
}
|
||||
|
||||
bool DescriptorScriptPubKeyMan::CanGetAddresses(bool internal) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue