Skip to content

Commit

Permalink
wallet: Make sure no DescriptorScriptPubKeyMan members are uninitiali…
Browse files Browse the repository at this point in the history
…zed after construction
  • Loading branch information
practicalswift committed Apr 27, 2020
1 parent eef90c1 commit ff046ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/scriptpubkeyman.h
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ class DescriptorScriptPubKeyMan : public ScriptPubKeyMan
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);
Expand Down

0 comments on commit ff046ae

Please sign in to comment.