File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -155,10 +155,10 @@ impl Proof {
155155 [
156156 p. a . x ,
157157 p. a . y ,
158- p. b . x [ 0 ] . clone ( ) ,
159158 p. b . x [ 1 ] . clone ( ) ,
160- p. b . y [ 0 ] . clone ( ) ,
159+ p. b . x [ 0 ] . clone ( ) ,
161160 p. b . y [ 1 ] . clone ( ) ,
161+ p. b . y [ 0 ] . clone ( ) ,
162162 p. c . x ,
163163 p. c . y ,
164164 ]
@@ -171,8 +171,8 @@ impl Proof {
171171 z : BigUint :: one ( ) ,
172172 } ;
173173 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 ( ) ] ,
176176 z : [ BigUint :: one ( ) , BigUint :: zero ( ) ] ,
177177 } ;
178178 let c = G1 {
@@ -433,11 +433,8 @@ mod tests {
433433 assert_eq ! ( Proof :: verify_proof( proof) , false )
434434 }
435435
436- // TODO fix it and remove #[ignore]
437- // https://github.com/zkmopro/mopro/issues/396
438436 // This test case is to test a semaphore-js proof can be verified by semaphore-rs verifier.
439437 #[ test]
440- #[ ignore]
441438 fn test_semaphore_js_proof ( ) {
442439 let points = [
443440 // Proof generated from `Semaphore-js`
You can’t perform that action at this time.
0 commit comments