zkjson 0.1.12 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
}
|