We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CheckDecryptionKey
1 parent d4286fb commit d89646dCopy full SHA for d89646d
src/wallet/scriptpubkeyman.cpp
@@ -222,7 +222,7 @@ bool LegacyScriptPubKeyMan::CheckDecryptionKey(const CKeyingMaterial& master_key
222
return false;
223
}
224
225
- if(!m_hd_chain.IsNull() && !m_hd_chain.IsCrypted()) {
+ if(!m_hd_chain.IsNull() && m_hd_chain.IsCrypted()) {
226
// try to decrypt seed and make sure it matches
227
CHDChain hdChainTmp;
228
if (!DecryptHDChain(master_key, hdChainTmp) || (m_hd_chain.GetID() != hdChainTmp.GetSeedHash())) {
0 commit comments