Skip to content

Compile error! #1484

Answered by othaime-en
kumso asked this question in Q&A
Aug 3, 2022 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

YOu haven't specified the visibility of your function. Is it private, public, external or internal? In this case, it should be public.
function store(uint256 _favouriteNumber) public {}

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by kumso
Comment options

You must be logged in to vote
1 reply
@kumso
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants