File tree 1 file changed +4
-7
lines changed 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -155,10 +155,10 @@ impl Proof {
155
155
[
156
156
p. a . x ,
157
157
p. a . y ,
158
- p. b . x [ 0 ] . clone ( ) ,
159
158
p. b . x [ 1 ] . clone ( ) ,
160
- p. b . y [ 0 ] . clone ( ) ,
159
+ p. b . x [ 0 ] . clone ( ) ,
161
160
p. b . y [ 1 ] . clone ( ) ,
161
+ p. b . y [ 0 ] . clone ( ) ,
162
162
p. c . x ,
163
163
p. c . y ,
164
164
]
@@ -171,8 +171,8 @@ impl Proof {
171
171
z : BigUint :: one ( ) ,
172
172
} ;
173
173
let b = G2 {
174
- x : [ packed[ 2 ] . clone ( ) , packed[ 3 ] . clone ( ) ] ,
175
- y : [ packed[ 4 ] . clone ( ) , packed[ 5 ] . clone ( ) ] ,
174
+ x : [ packed[ 3 ] . clone ( ) , packed[ 2 ] . clone ( ) ] ,
175
+ y : [ packed[ 5 ] . clone ( ) , packed[ 4 ] . clone ( ) ] ,
176
176
z : [ BigUint :: one ( ) , BigUint :: zero ( ) ] ,
177
177
} ;
178
178
let c = G1 {
@@ -433,11 +433,8 @@ mod tests {
433
433
assert_eq ! ( Proof :: verify_proof( proof) , false )
434
434
}
435
435
436
- // TODO fix it and remove #[ignore]
437
- // https://github.com/zkmopro/mopro/issues/396
438
436
// This test case is to test a semaphore-js proof can be verified by semaphore-rs verifier.
439
437
#[ test]
440
- #[ ignore]
441
438
fn test_semaphore_js_proof ( ) {
442
439
let points = [
443
440
// Proof generated from `Semaphore-js`
You can’t perform that action at this time.
0 commit comments