fix MGs json

This commit is contained in:
moneroexamples 2016-12-14 09:27:37 +08:00
parent b97a2f72db
commit 374b58d131
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;