git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9b5aec5
)
Our internal state doesn't matter.
author
CryptoManiac
<balthazar@yandex.ru>
Sat, 2 Apr 2016 19:49:54 +0000 (22:49 +0300)
committer
CryptoManiac
<balthazar@yandex.ru>
Sat, 2 Apr 2016 19:49:54 +0000 (22:49 +0300)
src/key.cpp
patch
|
blob
|
history
diff --git
a/src/key.cpp
b/src/key.cpp
index
355d6dd
..
1adeab2
100644
(file)
--- 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;
}