Remove old testing code

This commit is contained in:
Tim Ruffing 2018-05-18 17:52:05 +02:00
parent 6ec0b129a6
commit 46f2416234

View file

@ -43,8 +43,6 @@ public:
return;
/* Explicit value */
case 1:
/* Trust-me! asset generation */
case 0xff:
vchCommitment.resize(nExplicitSize);
break;
/* Confidential commitment */
@ -79,8 +77,7 @@ public:
bool IsValid() const
{
return IsNull() || IsExplicit() || IsCommitment()
|| (vchCommitment.size()==nExplicitSize && vchCommitment[0]==0xff);
return IsNull() || IsExplicit() || IsCommitment();
}
friend bool operator==(const CConfidentialCommitment& a, const CConfidentialCommitment& b)