From 525cda36911c3c3bab9721b7c4c9e7c846c200cc Mon Sep 17 00:00:00 2001 From: wowario Date: Sun, 27 Jun 2021 16:27:57 +0300 Subject: [PATCH] change to else if --- src/ringct/rctTypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ringct/rctTypes.h b/src/ringct/rctTypes.h index 419537b2b..edbae5e09 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)