add acks and references

This commit is contained in:
Srinath Setty
2021-07-26 11:58:39 -07:00
parent d52be5cf4a
commit 6075165c54
3 changed files with 11 additions and 3 deletions

View File

@@ -91,7 +91,7 @@ impl StepSNARK {
// fold the instance using `r` and `comm_T`
let U = U1.fold(U2, &self.comm_T, &r)?;
// return the folded instance and witness
// return the folded instance
Ok(U)
}
}

View File

@@ -218,9 +218,9 @@ impl R1CSShape {
.map(|(((a, b), c), d)| a + b - c - d)
.collect::<Vec<Scalar>>();
let T_commit = T.commit(&gens.gens_E).compress();
let comm_T = T.commit(&gens.gens_E).compress();
Ok((T, T_commit))
Ok((T, comm_T))
}
}