diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-09-18 17:59:20 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-09-18 17:59:20 +0200 |
commit | 68dcf73de2c0d51b1f1fa2d2c7cd6805b45b5ca8 (patch) | |
tree | 191fb5149a2b172e89243a5ea69015964942f91f /src | |
parent | Merge pull request #4361 (diff) | |
parent | rctTypes: fix incorrect serialization (diff) | |
download | monero-68dcf73de2c0d51b1f1fa2d2c7cd6805b45b5ca8.tar.xz |
Merge pull request #4366
67a56a9f rctTypes: fix incorrect serialization (stoffu)
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); |