Skip to content

Commit ff046ae

Browse files
wallet: Make sure no DescriptorScriptPubKeyMan members are uninitialized after construction
1 parent eef90c1 commit ff046ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/scriptpubkeyman.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ class DescriptorScriptPubKeyMan : public ScriptPubKeyMan
497497
int32_t m_max_cached_index = -1;
498498

499499
OutputType m_address_type;
500-
bool m_internal;
500+
bool m_internal = false;
501501

502502
KeyMap m_map_keys GUARDED_BY(cs_desc_man);
503503
CryptedKeyMap m_map_crypted_keys GUARDED_BY(cs_desc_man);

0 commit comments

Comments
 (0)