mirror of
https://github.com/pezkuwichain/bizinikiwi-bn.git
synced 2026-07-23 21:45:39 +00:00
change pow func
This commit is contained in:
+2
-2
@@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user