RareSkills / blog

The content of our blogs to make it easy for contributor to comment or submit corrections.
6 stars 7 forks source link

solidity-beginner-mistakes missing modifier in code #13

Closed tanim0la closed 2 weeks ago

tanim0la commented 2 weeks ago

noticed the setPrice function in the second code block under the Forgetting Access Control section was missing the onlyOwner modifier, so I added it.