zkjson 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- package/contracts/ZKRollup.sol +2 -2
- package/package.json +1 -1
package/contracts/ZKRollup.sol
CHANGED
@@ -14,7 +14,7 @@ contract ZKRollup is ZKQuery {
|
|
14
14
|
address public committer;
|
15
15
|
uint public root;
|
16
16
|
|
17
|
-
function _verifyRU(uint[] calldata zkp)
|
17
|
+
function _verifyRU(uint[] calldata zkp) private view returns (bool) {
|
18
18
|
uint[2] memory _pA;
|
19
19
|
uint[2][2] memory _pB;
|
20
20
|
uint[2] memory _pC;
|
@@ -48,7 +48,7 @@ contract ZKRollup is ZKQuery {
|
|
48
48
|
return root;
|
49
49
|
}
|
50
50
|
|
51
|
-
function verifyRU(uint[] calldata zkp)
|
51
|
+
function verifyRU(uint[] calldata zkp) private view returns (bool) {
|
52
52
|
return _verifyRU(zkp);
|
53
53
|
}
|
54
54
|
}
|