You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public void setGreeting(Utf8String s) throws InterruptedException, ExecutionException {
Function function = new Function<>("setGreeting", Arrays.asList(s), Collections.emptyList());
return executeSingleValueReturn(function);
}
The return statement is not allowed.
Contract
contract hello {
string greeting;
function setGreeting(string s){
greeting = s;
}
function getGreeting() constant returns (string s){
s = greeting;
}
function killMe(){
suicide(msg.sender);
}
}
The code generator generates following code:
The return statement is not allowed.
Contract
ABI
Thanks for checking this.
The text was updated successfully, but these errors were encountered: