aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/scriptpubkeyman.h
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2020-04-27 14:20:00 +0000
committerpracticalswift <practicalswift@users.noreply.github.com>2020-04-27 14:20:00 +0000
commitff046aeeba8d4f3ff210d37ba020616c12450ab3 (patch)
treed2161c2ccedf797aac2b3c844328c41ab09dea47 /src/wallet/scriptpubkeyman.h
parenteef90c14ed0f559e3f6e187341009270b84f45cb (diff)
wallet: Make sure no DescriptorScriptPubKeyMan members are uninitialized after construction
Diffstat (limited to 'src/wallet/scriptpubkeyman.h')
-rw-r--r--src/wallet/scriptpubkeyman.h2
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);