Skip to content

Conversation

ahpaleus
Copy link
Contributor

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.

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.
@gustavo-grieco
Copy link
Contributor

Which solc version are you using?

@ahpaleus
Copy link
Contributor Author

from 0.5.11 to 0.8.17. Actually, for 0.4.26, it works. But I would fix this discrepancy between README and file.

@montyly montyly merged commit 9b757b6 into master Jan 25, 2023
@montyly montyly deleted the exercise2-patch branch January 25, 2023 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants