mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
Implement IsHDEnabled in DescriptorScriptPubKeyMan
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user