X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fkey.h;h=45ce39bd4dc78015688ba3d343d260a607a5dff5;hp=2489dfc41ff2a11f703c733a7c6ce7a4ebb36e95;hb=9a848e2cae1fc51c8b76a5d76a69d8fe2d87e078;hpb=2efa010c9826cba06c53aecbea6d89dd0d8d0acc diff --git a/src/key.h b/src/key.h index 2489dfc..45ce39b 100644 --- a/src/key.h +++ b/src/key.h @@ -240,10 +240,10 @@ 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); + bool SetSecret(const CSecret& vchSecret, bool fCompressed = false); CSecret GetSecret(bool &fCompressed) const; CSecret GetSecret() const; CPrivKey GetPrivKey() const;