Skip to content

Commit 00a943e

Browse files
authored
Update Exercise2
The code in the description does not match the code in the `token.sol` file. The `function Owner()` misses "public" - the compiler throws an error.
1 parent 93e7f0e commit 00a943e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

program-analysis/echidna/Exercise-2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ We will test the following contract *[exercises/exercise2/token.sol](./exercises
1717
```Solidity
1818
contract Ownership{
1919
address owner = msg.sender;
20-
function Owner(){
20+
function Owner() public {
2121
owner = msg.sender;
2222
}
2323
modifier isOwner(){

0 commit comments

Comments
 (0)