Our internal state doesn't matter.
authorCryptoManiac <balthazar@yandex.ru>
Sat, 2 Apr 2016 19:49:54 +0000 (22:49 +0300)
committerCryptoManiac <balthazar@yandex.ru>
Sat, 2 Apr 2016 19:49:54 +0000 (22:49 +0300)
src/key.cpp

index 355d6dd..1adeab2 100644 (file)
@@ -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;
 }