This commit is contained in:
NikVolf
2019-03-13 16:34:48 +03:00
parent 68d901f0d1
commit 39aef57c2f
+3
View File
@@ -152,6 +152,9 @@ impl Fq {
pub fn into_u256(self) -> arith::U256 {
(self.0).into()
}
pub fn modulus() -> arith::U256 {
fields::Fq::modulus()
}
}
impl Add<Fq> for Fq {