diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2020-04-27 14:20:00 +0000 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2020-04-27 14:20:00 +0000 |
commit | ff046aeeba8d4f3ff210d37ba020616c12450ab3 (patch) | |
tree | d2161c2ccedf797aac2b3c844328c41ab09dea47 /src/wallet/scriptpubkeyman.h | |
parent | eef90c14ed0f559e3f6e187341009270b84f45cb (diff) |
wallet: Make sure no DescriptorScriptPubKeyMan members are uninitialized after construction
Diffstat (limited to 'src/wallet/scriptpubkeyman.h')
-rw-r--r-- | src/wallet/scriptpubkeyman.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/scriptpubkeyman.h b/src/wallet/scriptpubkeyman.h index 3117b13d35..313ba34dfa 100644 --- a/src/wallet/scriptpubkeyman.h +++ b/src/wallet/scriptpubkeyman.h @@ -497,7 +497,7 @@ private: int32_t m_max_cached_index = -1; OutputType m_address_type; - bool m_internal; + bool m_internal = false; KeyMap m_map_keys GUARDED_BY(cs_desc_man); CryptedKeyMap m_map_crypted_keys GUARDED_BY(cs_desc_man); |