mirror of
https://github.com/monero-project/monero.git
synced 2025-02-02 01:15:07 -05:00
fix json tagging in fcmp_pp serialization
This commit is contained in:
parent
54d5d0d5c7
commit
e40c5bb0fc
@ -501,8 +501,8 @@ namespace rct {
|
|||||||
|
|
||||||
if (type == RCTTypeFcmpPlusPlus)
|
if (type == RCTTypeFcmpPlusPlus)
|
||||||
{
|
{
|
||||||
ar.begin_object();
|
|
||||||
ar.tag("fcmp_pp");
|
ar.tag("fcmp_pp");
|
||||||
|
ar.begin_object();
|
||||||
const std::size_t proof_len = fcmp::get_fcmp_pp_len_from_n_inputs(inputs);
|
const std::size_t proof_len = fcmp::get_fcmp_pp_len_from_n_inputs(inputs);
|
||||||
PREPARE_CUSTOM_VECTOR_SERIALIZATION(proof_len, fcmp_pp);
|
PREPARE_CUSTOM_VECTOR_SERIALIZATION(proof_len, fcmp_pp);
|
||||||
if (fcmp_pp.size() != proof_len)
|
if (fcmp_pp.size() != proof_len)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user