change pow func

This commit is contained in:
NikVolf
2019-03-13 12:40:25 +03:00
parent e8390af8a6
commit 187a608dbb
+2 -2
View File
@@ -209,8 +209,8 @@ impl Fq2 {
self.0.is_zero()
}
pub fn pow(&self, exp: Fq) -> Self {
Fq2(self.0.pow(exp.0))
pub fn pow(&self, exp: arith::U256) -> Self {
Fq2(self.0.pow(exp))
}
}