Fix solidity linter errors
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user