rctTypes: fix incorrect serialization

release-v0.5.1
stoffu 6 years ago
parent 11dbfbc5b3
commit 67a56a9f8b
No known key found for this signature in database
GPG Key ID: 41DAB8343A9EC012

@ -313,10 +313,10 @@ namespace rct {
return false;
if (type == RCTTypeBulletproof)
{
ar.tag("bp");
ar.begin_array();
uint32_t nbp = bulletproofs.size();
FIELD(nbp)
ar.tag("bp");
ar.begin_array();
if (nbp > outputs)
return false;
PREPARE_CUSTOM_VECTOR_SERIALIZATION(nbp, bulletproofs);

Loading…
Cancel
Save