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
in the following contract, the field "number" can be overflow to 0 when use function setnumber. And in the report, it doesn't find this issue
contract HelloWorld {
string name;
uint8 number;
constructor() public {
name = "Hello, World!";
}
function get() public view returns (string memory) {
return name;
}
function set(string memory n) public {
name = n;
}
function setnumber() public {
number++;
}
}
The text was updated successfully, but these errors were encountered:
in the following contract, the field "number" can be overflow to 0 when use function setnumber. And in the report, it doesn't find this issue
The text was updated successfully, but these errors were encountered: