mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 16:27:39 +00:00
Merge pull request #4366
67a56a9f
rctTypes: fix incorrect serialization (stoffu)
This commit is contained in:
commit
68dcf73de2
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue