The following code has errors (comments added to show)
function AssignDoubleValue(int _data) public isOwner { //should be called as isOwner()
mydata = _data * 2;
}
function AssignTenerValue(int _data) public { //forgot to call isOwner()
mydata = _data * 10;
}
Author should update the code to reflect errors.
The following code has errors (comments added to show)
Author should update the code to reflect errors.