Compile error! #1484
Compile error!
#1484
-
Beta Was this translation helpful? Give feedback.
Answered by
othaime-en
Aug 3, 2022
Replies: 2 comments 1 reply
-
YOu haven't specified the visibility of your function. Is it private, public, external or internal? In this case, it should be public. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kumso
-
@kumso Add the public keyword with function declaretion.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 {}