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
1 changed files with 3 additions and 3 deletions

View File

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