Use consistent brackets

This commit is contained in:
Justin Traglia 2022-12-21 14:42:50 -06:00
parent f33c4b8060
commit 0c42b74c39
1 changed files with 2 additions and 4 deletions

View File

@ -1227,15 +1227,13 @@ C_KZG_RET compute_aggregate_kzg_proof(KZGProof *out,
KZGCommitment* commitments = NULL;
commitments = calloc(n, sizeof(KZGCommitment));
if (0 < n && commitments == NULL)
{
if (0 < n && commitments == NULL) {
ret = C_KZG_MALLOC;
goto out;
}
polys = calloc(n, sizeof(Polynomial));
if (0 < n && polys == NULL)
{
if (0 < n && polys == NULL) {
ret = C_KZG_MALLOC;
goto out;
}