diff --git a/src/ringct/rctTypes.h b/src/ringct/rctTypes.h index 9eff4ed27..66983f419 100644 --- a/src/ringct/rctTypes.h +++ b/src/ringct/rctTypes.h @@ -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)