Replace KeyIDHasher with SaltedSipHasher

This commit is contained in:
Andrew Chow 2020-09-28 19:34:38 -04:00
parent 210b693db6
commit 281fd1a4a0

View file

@ -303,7 +303,7 @@ private:
/* the HD chain data model (external chain counters) */
CHDChain m_hd_chain;
std::unordered_map<CKeyID, CHDChain, KeyIDHasher> m_inactive_hd_chains;
std::unordered_map<CKeyID, CHDChain, SaltedSipHasher> m_inactive_hd_chains;
/* HD derive new child key (on internal or external chain) */
void DeriveNewChildKey(WalletBatch& batch, CKeyMetadata& metadata, CKey& secret, CHDChain& hd_chain, bool internal = false) EXCLUSIVE_LOCKS_REQUIRED(cs_KeyStore);