X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fkey.h;h=cb5a7122c27aaba0ed30d44366c5bfeacc2ddc38;hb=63e4509c569f16145ab861717baf865fc6d05af1;hp=2489dfc41ff2a11f703c733a7c6ce7a4ebb36e95;hpb=9e58e0a8ca28b15a4bfa677f5b23891972db40fd;p=novacoin.git diff --git a/src/key.h b/src/key.h index 2489dfc..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: @@ -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);