minor code style

This commit is contained in:
poma 2020-02-20 19:15:50 +08:00
parent 5d82e40bb7
commit d8dc50a735
No known key found for this signature in database
GPG Key ID: BA20CB01FE165657

@ -170,7 +170,7 @@ contract Verifier {
function verifyProof( function verifyProof(
bytes memory proof, bytes memory proof,
uint256[<%vk_input_length%>] memory input uint256[<%vk_input_length%>] memory input
) public view returns (bool r) { ) public view returns (bool) {
uint256[8] memory p = abi.decode(proof, (uint256[8])); uint256[8] memory p = abi.decode(proof, (uint256[8]));
// Make sure that each element in the proof is less than the prime q // Make sure that each element in the proof is less than the prime q