change to else if

This commit is contained in:
wowario 2021-06-27 16:27:57 +03:00
parent 9eb34340f4
commit 525cda3691
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111
1 changed files with 1 additions and 1 deletions

View File

@ -437,7 +437,7 @@ namespace rct {
}
ar.end_array();
}
if (type == RCTTypeBulletproofPlus)
else if (type == RCTTypeBulletproofPlus)
{
uint32_t nbp = bulletproofs_plus.size();
VARINT_FIELD(nbp)