Merge pull request #1449

374b58d1 fix MGs json (moneroexamples)
This commit is contained in:
Riccardo Spagni 2016-12-15 14:29:40 +02:00
commit c6f26ecae2
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

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;