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");
FIELDS(MGs[i].cc)
// MGs[i].II not saved, it can be reconstructed
ar.end_object();
if (mg_elements - i > 1)
ar.delimit_array();
ar.end_object();
}
ar.end_array();
return true;