mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
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.
This commit is contained in:
parent
8b298ca7d7
commit
16a58a8644
4 changed files with 0 additions and 39 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue