Contract renamed
This commit is contained in:
parent
1a2c1401c9
commit
f3609c02db
1 changed files with 4 additions and 4 deletions
|
@ -134,7 +134,7 @@ library Pairing {
|
|||
return pairing(p1, p2);
|
||||
}
|
||||
}
|
||||
contract Test {
|
||||
contract Verifier {
|
||||
using Pairing for *;
|
||||
struct VerifyingKey {
|
||||
Pairing.G2Point A;
|
||||
|
@ -192,11 +192,11 @@ contract Test {
|
|||
}
|
||||
event Verified(string);
|
||||
function verifyTx(
|
||||
uint[2] a,
|
||||
uint[2] a,
|
||||
uint[2] a_p,
|
||||
uint[2][2] b,
|
||||
uint[2] b_p,
|
||||
uint[2] c,
|
||||
uint[2] c,
|
||||
uint[2] c_p,
|
||||
uint[2] h,
|
||||
uint[2] k,
|
||||
|
@ -222,4 +222,4 @@ contract Test {
|
|||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue