X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fkey.h;h=cb5a7122c27aaba0ed30d44366c5bfeacc2ddc38;hp=45ce39bd4dc78015688ba3d343d260a607a5dff5;hb=3e59ebf3286bcd620e6ff79fa84eb9aa50a6c59e;hpb=9a848e2cae1fc51c8b76a5d76a69d8fe2d87e078 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;