mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
Remove old testing code
This commit is contained in:
parent
6ec0b129a6
commit
46f2416234
1 changed files with 1 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue