aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ringct/rctTypes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ringct/rctTypes.h b/src/ringct/rctTypes.h
index 71cc61ddc..6b24fc470 100644
--- a/src/ringct/rctTypes.h
+++ b/src/ringct/rctTypes.h
@@ -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;