diff options
author | stoffu <stoffu@protonmail.ch> | 2018-09-12 20:33:10 +0900 |
---|---|---|
committer | stoffu <stoffu@protonmail.ch> | 2018-09-12 20:33:10 +0900 |
commit | 67a56a9f8b98c3d09616bffb569a320a392b447b (patch) | |
tree | cce255ab101c348e129981f9bec2f2bc4b57df05 /src | |
parent | Merge pull request #4342 (diff) | |
download | monero-67a56a9f8b98c3d09616bffb569a320a392b447b.tar.xz |
rctTypes: fix incorrect serialization
Diffstat (limited to 'src')
-rw-r--r-- | src/ringct/rctTypes.h | 4 |
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); |