Remove senseless comparison.
authorCryptoManiac <balthazar@yandex.ru>
Tue, 29 Mar 2016 01:51:35 +0000 (04:51 +0300)
committerCryptoManiac <balthazar@yandex.ru>
Tue, 29 Mar 2016 01:51:35 +0000 (04:51 +0300)
src/key.cpp

index 20ea691..45270a0 100644 (file)
@@ -561,8 +561,6 @@ bool CPubKey::VerifyCompact(uint256 hash, const std::vector<unsigned char>& vchS
     CPubKey key;
     if (!key.SetCompactSignature(hash, vchSig))
         return false;
-    if ((*this) != key)
-        return false;
     return true;
 }