mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
7 lines
198 B
Solidity
7 lines
198 B
Solidity
import { ecrecover } from "std/cryptography.sol";
|
|
|
|
contract C {
|
|
function f(bytes32 h, uint8 v, bytes32 r, bytes32 s) public returns (address addr) {
|
|
return ecrecover(h, v, r, s);
|
|
}
|
|
} |