i'm having issues debugging this code, pls take a look #6778
Emmanuel-Sokoyebom
started this conversation in
General
Replies: 1 comment 1 reply
-
Hi there, that's not the right syntax your are using. You forgot to add the underscore before your semicolon after the return statement modifier onlyOwner {
if(msg.sender != i_owner, "Sender is not owner!");
_; // add underscore on this line before the semicolon
} |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am following the steps laid out in the tutorial video 4:55:19, but on the video this error did not surface.
On this function, i'm running into an error:
Can someone tell me what's going on?
Beta Was this translation helpful? Give feedback.
All reactions