change to else if

This commit is contained in:
wowario 2021-06-27 16:27:57 +03:00
parent ff6883710b
commit f380155a97

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)