aboutsummaryrefslogtreecommitdiff
path: root/src/key.cpp
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2015-02-27 16:44:26 -0500
committerCory Fields <cory-nospam-@coryfields.com>2015-03-02 11:31:43 -0500
commit16a58a86442ad587449f321c0dbab08cc028c2bd (patch)
tree4af84d5dfdc2e272d007b7fe33e281a7abcbfbaf /src/key.cpp
parent8b298ca7d7540acc19d1df79a5c2af7b5aca8cbe (diff)
downloadbitcoin-16a58a86442ad587449f321c0dbab08cc028c2bd.tar.xz
keys: remove libsecp256k1 verification until it's actually supported
This was added a while ago for testing purposes, but was never intended to be used. Remove it until upstream libsecp256k1 decides that verification is stable/ready.
Diffstat (limited to 'src/key.cpp')
-rw-r--r--src/key.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/key.cpp b/src/key.cpp
index d8319db1a3..64c9bc7119 100644
--- a/src/key.cpp
+++ b/src/key.cpp
@@ -208,11 +208,9 @@ void CExtKey::Decode(const unsigned char code[74]) {
}
bool ECC_InitSanityCheck() {
-#if !defined(USE_SECP256K1)
if (!CECKey::SanityCheck()) {
return false;
}
-#endif
CKey key;
key.MakeNewKey(true);
CPubKey pubkey = key.GetPubKey();