Explicit public visibility on methods

This commit is contained in:
dmx374
2017-09-18 13:41:40 +02:00
committed by Francisco Giordano
parent bd84db735d
commit b395b06b65
24 changed files with 52 additions and 52 deletions

View File

@ -14,7 +14,7 @@ library ECRecovery {
* @param hash bytes32 message, the hash is the signed message. What is recovered is the signer address.
* @param sig bytes signature, the signature is generated using web3.eth.sign()
*/
function recover(bytes32 hash, bytes sig) constant returns (address) {
function recover(bytes32 hash, bytes sig) public constant returns (address) {
bytes32 r;
bytes32 s;
uint8 v;