Update evm/src/bn254.rs

Co-authored-by: Jacqueline Nabaglo <jakub@mirprotocol.org>
This commit is contained in:
Dima V 2023-01-11 05:58:26 -08:00 committed by GitHub
parent 068f74854a
commit 42f98a09ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ pub fn twisted_curve_generator() -> TwistedCurve {
]
}
const ZERO: Fp = U256([0, 0, 0, 0]);
const ZERO: Fp = U256::zero();
fn embed_fp2(x: Fp) -> Fp2 {
[x, ZERO]