Update to use the latest version of pairing library.

This commit is contained in:
Sean Bowe
2017-10-22 05:45:26 -06:00
parent 2042876fcf
commit 326996139e
4 changed files with 25 additions and 55 deletions
+2 -2
View File
@@ -42,13 +42,13 @@ impl<E: Engine, G: Group<E>> EvaluationDomain<E, G> {
m *= 2;
exp += 1;
if exp >= E::Fr::s() {
if exp >= E::Fr::S {
return Err(Error::PolynomialDegreeTooLarge)
}
}
let mut omega = E::Fr::root_of_unity();
for _ in exp..E::Fr::s() {
for _ in exp..E::Fr::S {
omega.square();
}