I pretty dogshit at coding, (beginner). Don't really understand what is wrong. Lesson 4 #2830
-
from solidity: ParserError: Expected '{' but got 'function' |
Beta Was this translation helpful? Give feedback.
Answered by
othaime-en
Sep 24, 2022
Replies: 1 comment 3 replies
-
Hey @P1nnit add |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
alymurtazamemon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @P1nnit add
{}
at the end of the function of line 19. In solidity event empty functions are supposed to have{}
at the end.