mirror of
https://github.com/monero-project/monero.git
synced 2026-01-30 08:14:54 +01:00
rctTypes: fix incorrect serialization
This commit is contained in:
@@ -313,10 +313,10 @@ namespace rct {
|
|||||||
return false;
|
return false;
|
||||||
if (type == RCTTypeBulletproof)
|
if (type == RCTTypeBulletproof)
|
||||||
{
|
{
|
||||||
ar.tag("bp");
|
|
||||||
ar.begin_array();
|
|
||||||
uint32_t nbp = bulletproofs.size();
|
uint32_t nbp = bulletproofs.size();
|
||||||
FIELD(nbp)
|
FIELD(nbp)
|
||||||
|
ar.tag("bp");
|
||||||
|
ar.begin_array();
|
||||||
if (nbp > outputs)
|
if (nbp > outputs)
|
||||||
return false;
|
return false;
|
||||||
PREPARE_CUSTOM_VECTOR_SERIALIZATION(nbp, bulletproofs);
|
PREPARE_CUSTOM_VECTOR_SERIALIZATION(nbp, bulletproofs);
|
||||||
|
|||||||
Reference in New Issue
Block a user