X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fkey.h;h=cb5a7122c27aaba0ed30d44366c5bfeacc2ddc38;hb=63e4509c569f16145ab861717baf865fc6d05af1;hp=45ce39bd4dc78015688ba3d343d260a607a5dff5;hpb=9a848e2cae1fc51c8b76a5d76a69d8fe2d87e078;p=novacoin.git diff --git a/src/key.h b/src/key.h index 45ce39b..cb5a712 100644 --- a/src/key.h +++ b/src/key.h @@ -223,7 +223,6 @@ class CKey protected: EC_KEY* pkey; bool fSet; - bool fCompressedPubKey; public: @@ -243,7 +242,7 @@ public: void SetCompressedPubKey(bool fCompressed=true); void MakeNewKey(bool fCompressed=true); bool SetPrivKey(const CPrivKey& vchPrivKey); - bool SetSecret(const CSecret& vchSecret, bool fCompressed = false); + bool SetSecret(const CSecret& vchSecret, bool fCompressed = true); CSecret GetSecret(bool &fCompressed) const; CSecret GetSecret() const; CPrivKey GetPrivKey() const;