fix MGs json

This commit is contained in:
moneroexamples 2016-12-14 09:27:37 +08:00
parent b97a2f72db
commit 374b58d131

View File

@ -308,10 +308,10 @@ namespace rct {
ar.tag("cc"); ar.tag("cc");
FIELDS(MGs[i].cc) FIELDS(MGs[i].cc)
// MGs[i].II not saved, it can be reconstructed // MGs[i].II not saved, it can be reconstructed
if (mg_elements - i > 1)
ar.delimit_array();
ar.end_object(); ar.end_object();
if (mg_elements - i > 1)
ar.delimit_array();
} }
ar.end_array(); ar.end_array();
return true; return true;