aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-09-18 17:59:20 +0200
committerRiccardo Spagni <ric@spagni.net>2018-09-18 17:59:20 +0200
commit68dcf73de2c0d51b1f1fa2d2c7cd6805b45b5ca8 (patch)
tree191fb5149a2b172e89243a5ea69015964942f91f
parentMerge pull request #4361 (diff)
parentrctTypes: fix incorrect serialization (diff)
downloadmonero-68dcf73de2c0d51b1f1fa2d2c7cd6805b45b5ca8.tar.xz
Merge pull request #4366
67a56a9f rctTypes: fix incorrect serialization (stoffu)
-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);