From cc021ef4862ee8c67453aebf746b98b591e4fc99 Mon Sep 17 00:00:00 2001 From: lizhi Date: Sun, 24 Jul 2016 10:49:07 +0800 Subject: [PATCH] remove outdated legacy code CheckSignatureElement is not used,it be replaced by eccrypto::CheckSignatureElement. --- src/key.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/key.h b/src/key.h index b4f48d59f..4e5e20892 100644 --- a/src/key.h +++ b/src/key.h @@ -146,9 +146,6 @@ public: //! Load private key and check that public key matches. bool Load(CPrivKey& privkey, CPubKey& vchPubKey, bool fSkipCheck); - - //! Check whether an element of a signature (r or s) is valid. - static bool CheckSignatureElement(const unsigned char* vch, int len, bool half); }; struct CExtKey {