From 2efa010c9826cba06c53aecbea6d89dd0d8d0acc Mon Sep 17 00:00:00 2001 From: CryptoManiac Date: Sat, 2 Apr 2016 22:49:54 +0300 Subject: [PATCH] Our internal state doesn't matter. --- src/key.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/key.cpp b/src/key.cpp index 355d6dd..1adeab2 100644 --- a/src/key.cpp +++ b/src/key.cpp @@ -311,7 +311,7 @@ bool CKey::SetSecret(const CSecret& vchSecret, bool fCompressed) } BN_clear_free(bn); fSet = true; - if (fCompressed || fCompressedPubKey) + if (fCompressed) SetCompressedPubKey(); return true; } -- 1.7.1