error NotOwner(); - Expected ';' but got '(' #666
-
Hi, so after first problem I go back to some quick JavaScript course pass that and now I'm back to solidity. I did everything from begin no errors everything fine now, again I have some stupid issue, so my code is exactly like in code lesson but I'm getting weird error. My code is:
and when I'm trying compile I get error from solidity: I was reading solidity by example, checking on internet, comparing code with code from lesson, I run out of ideas. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Can you paste the whole FundMe.sol file here? |
Beta Was this translation helpful? Give feedback.
-
Problem is: I call that error NotOwner but should be notOwner. Now it's working. Sorry for troubles. |
Beta Was this translation helpful? Give feedback.
Problem is: I call that error NotOwner but should be notOwner. Now it's working. Sorry for troubles.