From: CryptoManiac Date: Tue, 29 Mar 2016 01:51:35 +0000 (+0300) Subject: Remove senseless comparison. X-Git-Tag: nvc-v0.5.8~24 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=277aab9a229676e03125453b2b2bcf5b21444d84 Remove senseless comparison. --- diff --git a/src/key.cpp b/src/key.cpp index 20ea691..45270a0 100644 --- a/src/key.cpp +++ b/src/key.cpp @@ -561,8 +561,6 @@ bool CPubKey::VerifyCompact(uint256 hash, const std::vector& vchS CPubKey key; if (!key.SetCompactSignature(hash, vchSig)) return false; - if ((*this) != key) - return false; return true; }