aboutsummaryrefslogtreecommitdiff
path: root/src/ringct
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2018-09-12 20:33:10 +0900
committerstoffu <stoffu@protonmail.ch>2018-09-12 20:33:10 +0900
commit67a56a9f8b98c3d09616bffb569a320a392b447b (patch)
treecce255ab101c348e129981f9bec2f2bc4b57df05 /src/ringct
parentMerge pull request #4342 (diff)
downloadmonero-67a56a9f8b98c3d09616bffb569a320a392b447b.tar.xz
rctTypes: fix incorrect serialization
Diffstat (limited to 'src/ringct')
-rw-r--r--src/ringct/rctTypes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ringct/rctTypes.h b/src/ringct/rctTypes.h
index ffc4df3ed..18290637b 100644
--- a/src/ringct/rctTypes.h
+++ b/src/ringct/rctTypes.h
@@ -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);