Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mattstam committed Jul 19, 2024
1 parent 51c76bc commit da81f09
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions contracts/src/v1.0.9-testnet.rc2/SP1Verifier.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ contract SP1Verifier is PlonkVerifier, ISP1VerifierWithHash {

/// @notice Hashes the public values to a field elements inside Bn254.
/// @param publicValues The public values.
function hashPublicValues(
bytes calldata publicValues
) public pure returns (bytes32) {
function hashPublicValues(bytes calldata publicValues) public pure returns (bytes32) {
return sha256(publicValues) & bytes32(uint256((1 << 253) - 1));
}

Expand Down

0 comments on commit da81f09

Please sign in to comment.