aboutsummaryrefslogtreecommitdiff
path: root/src/key.cpp
diff options
context:
space:
mode:
authorCory Fields <[email protected]>2015-02-27 16:44:26 -0500
committerCory Fields <[email protected]>2015-03-02 11:31:43 -0500
commit16a58a86442ad587449f321c0dbab08cc028c2bd (patch)
tree4af84d5dfdc2e272d007b7fe33e281a7abcbfbaf /src/key.cpp
parentMerge pull request #5708 (diff)
downloaddiscoin-16a58a86442ad587449f321c0dbab08cc028c2bd.tar.xz
discoin-16a58a86442ad587449f321c0dbab08cc028c2bd.zip
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 d8319db1a..64c9bc711 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();