Fix deref breakage with nightly-2020-10-06
Fixes the following error: cannot multiply-assign `<E as Engine>::Fr` by `&&<E as Engine>::Fr` I think this is related to: https://github.com/rust-lang/rust/issues/77638
This commit is contained in:
parent
0f2244fdb4
commit
a5ff6f514b
|
@ -398,8 +398,8 @@ where
|
||||||
*b_g2 = g2_wnaf.scalar(&bt);
|
*b_g2 = g2_wnaf.scalar(&bt);
|
||||||
}
|
}
|
||||||
|
|
||||||
at.mul_assign(&beta);
|
at *= beta;
|
||||||
bt.mul_assign(&alpha);
|
bt *= alpha;
|
||||||
|
|
||||||
let mut e = at;
|
let mut e = at;
|
||||||
e.add_assign(&bt);
|
e.add_assign(&bt);
|
||||||
|
|
Loading…
Reference in New Issue