From 45f2f6a0e8514a0438a87554400bf73cbb90707f Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Thu, 5 Dec 2019 15:23:05 -0500 Subject: Determine inactive HD seeds from key metadata and track them in LegacyScriptPubKeyMan --- src/wallet/walletdb.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/wallet/walletdb.h') diff --git a/src/wallet/walletdb.h b/src/wallet/walletdb.h index 2701481c58..4374d61dfb 100644 --- a/src/wallet/walletdb.h +++ b/src/wallet/walletdb.h @@ -116,6 +116,11 @@ public: nInternalChainCounter = 0; seed_id.SetNull(); } + + bool operator==(const CHDChain& chain) const + { + return seed_id == chain.seed_id; + } }; class CKeyMetadata -- cgit v1.2.3