Skip to content

Commit 71c18ac

Browse files
Update README.md
1 parent aa8872a commit 71c18ac

File tree

1 file changed

+1
-1
lines changed
  • not-so-smart-contracts/cairo/dangerous_public_imports_in_libraries

1 file changed

+1
-1
lines changed

not-so-smart-contracts/cairo/dangerous_public_imports_in_libraries/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ When a library is imported in Cairo, all functions can be called even if some of
44

55
# Example
66

7-
Consider the library `library.cairo`. Even though the `example.cairo` file imports only the `check_owner()` and the `_do_something()` function, the `bypass_owner_do_something()` function is still exposed and can thus be called, making it possible to circumvent the owner check.
7+
Consider the library `library.cairo`. Even though the `example.cairo` file imports only the `check_owner()` and the `do_something()` function, the `bypass_owner_do_something()` function is still exposed and can thus be called, making it possible to circumvent the owner check.
88

99
```cairo
1010

0 commit comments

Comments
 (0)