Fix solidity linter errors

This commit is contained in:
AugustoL
2018-01-17 11:21:25 -03:00
parent d060d29912
commit 2b008f4cb6
3 changed files with 10 additions and 18 deletions

View File

@ -4,18 +4,16 @@ contract MessageHelper {
event Show(bytes32 b32, uint256 number, string text);
function showMessage(
bytes32 message, uint256 number, string text
) returns (bool) {
function showMessage( bytes32 message, uint256 number, string text ) public returns (bool) {
Show(message, number, text);
return true;
}
function fail() {
function fail() public {
require(false);
}
function call(address to, bytes data) returns (bool) {
function call(address to, bytes data) public returns (bool) {
if (to.call(data))
return true;
else