From: CryptoManiac Date: Mon, 15 Feb 2016 18:14:46 +0000 (+0300) Subject: Comparison fix X-Git-Tag: nvc-v0.5.6~75 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=b8ceacbeab5a95713f626694117b630574a2e52f Comparison fix --- diff --git a/src/key.cpp b/src/key.cpp index bf0f99d..a1ab2a3 100644 --- a/src/key.cpp +++ b/src/key.cpp @@ -803,7 +803,7 @@ bool CMalleableKey::SetSecrets(const CSecret &pvchSecretL, const CSecret &pvchSe Reset(); CKey L, H; - if (pvchSecretL.size() != 32 || !pvchSecretH.size() != 32 || !L.SetSecret(pvchSecretL, true) || !H.SetSecret(pvchSecretH, true)) + if (pvchSecretL.size() != 32 || pvchSecretH.size() != 32 || !L.SetSecret(pvchSecretL, true) || !H.SetSecret(pvchSecretH, true)) { nVersion = 0; return false;