Get rid of fCompressedPubKey attribute.
[novacoin.git] / src / key.h
index 2489dfc..cb5a712 100644 (file)
--- a/src/key.h
+++ b/src/key.h
@@ -223,7 +223,6 @@ class CKey
 protected:
     EC_KEY* pkey;
     bool fSet;
-    bool fCompressedPubKey;
 
 public:
 
@@ -240,7 +239,7 @@ public:
     bool IsNull() const;
     bool IsCompressed() const;
 
-    void SetCompressedPubKey();
+    void SetCompressedPubKey(bool fCompressed=true);
     void MakeNewKey(bool fCompressed=true);
     bool SetPrivKey(const CPrivKey& vchPrivKey);
     bool SetSecret(const CSecret& vchSecret, bool fCompressed = true);