Skip to content

Commit 281fd1a

Browse files
committed
Replace KeyIDHasher with SaltedSipHasher
1 parent 210b693 commit 281fd1a

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
@@ -303,7 +303,7 @@ class LegacyScriptPubKeyMan : public ScriptPubKeyMan, public FillableSigningProv
303303

304304
/* the HD chain data model (external chain counters) */
305305
CHDChain m_hd_chain;
306-
std::unordered_map<CKeyID, CHDChain, KeyIDHasher> m_inactive_hd_chains;
306+
std::unordered_map<CKeyID, CHDChain, SaltedSipHasher> m_inactive_hd_chains;
307307

308308
/* HD derive new child key (on internal or external chain) */
309309
void DeriveNewChildKey(WalletBatch& batch, CKeyMetadata& metadata, CKey& secret, CHDChain& hd_chain, bool internal = false) EXCLUSIVE_LOCKS_REQUIRED(cs_KeyStore);

0 commit comments

Comments
 (0)