mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-30 06:43:28 +01:00
rctTypes: fix incorrect serialization
This commit is contained in:
parent
11dbfbc5b3
commit
67a56a9f8b
@ -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…
Reference in New Issue
Block a user