This is a small folllow-up to #16528 (“Native Descriptor Wallets using DescriptorScriptPubKeyMan”) which was merged in to master
a couple of hours ago.
Make sure no DescriptorScriptPubKeyMan
or WalletDescriptor
members are left uninitialized after construction.
Before this change bool m_internal
was left uninitialized when using the DescriptorScriptPubKeyMan(WalletStorage&, WalletDescriptor&)
ctor.
The same goes for the now initialized integers which were left uninitialized when using the WalletDescriptor()
ctor.