mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
fix returns
This commit is contained in:
parent
6bd82428d2
commit
94381c67b9
@ -851,7 +851,7 @@ The full contract
|
||||
}
|
||||
|
||||
/// builds a prefixed hash to mimic the behavior of eth_sign.
|
||||
function prefixed(bytes32 hash) internal pure return (bytes32) {
|
||||
function prefixed(bytes32 hash) internal pure returns (bytes32) {
|
||||
return keccak256("\x19Ethereum Signed Message:\n32", hash);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user