X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fkey.cpp;h=1adeab216a4c7960357d782c9f94010ace430b1d;hp=355d6ddf60b0890449b7b07fe4784a3be75e1bb6;hb=2efa010c9826cba06c53aecbea6d89dd0d8d0acc;hpb=9b5aec5581cf04f288f4e8ed113cc4ec93a383f2 diff --git a/src/key.cpp b/src/key.cpp index 355d6dd..1adeab2 100644 --- a/src/key.cpp +++ b/src/key.cpp @@ -311,7 +311,7 @@ bool CKey::SetSecret(const CSecret& vchSecret, bool fCompressed) } BN_clear_free(bn); fSet = true; - if (fCompressed || fCompressedPubKey) + if (fCompressed) SetCompressedPubKey(); return true; }