From d76afe7558261ade64feaa9a84dfd1ed2483f7d2 Mon Sep 17 00:00:00 2001 From: cyjseagull Date: Wed, 10 Aug 2022 21:25:52 +0800 Subject: [PATCH] modify crypto --- src/main/resources/contract/solidity/Crypto.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/contract/solidity/Crypto.sol b/src/main/resources/contract/solidity/Crypto.sol index 5434e781..8e11f6db 100644 --- a/src/main/resources/contract/solidity/Crypto.sol +++ b/src/main/resources/contract/solidity/Crypto.sol @@ -4,6 +4,6 @@ abstract contract Crypto { function sm3(bytes memory data) public view returns(bytes32){} function keccak256Hash(bytes memory data) public view returns(bytes32){} - function sm2Verify(bytes memory message, bytes memory sign) public view returns(bool, address){} + function sm2Verify(bytes32 message, bytes memory publicKey, bytes32 r, bytes32 s) public view returns(bool, address){} function curve25519VRFVerify(bytes memory message, bytes memory publicKey, bytes memory proof) public view returns(bool, uint256){} }