Skip to content

Commit

Permalink
Visibility modifier must be first (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
atropos0902 committed Oct 15, 2021
1 parent b74a1e3 commit 3643fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -43,7 +43,7 @@ Constructors are replaced by internal initializer functions following the naming

```diff
- constructor() ERC721("MyCollectible", "MCO") {
+ function initialize() initializer public {
+ function initialize() public initializer {
+ __ERC721_init("MyCollectible", "MCO");
}
```
Expand Down

0 comments on commit 3643fe0

Please sign in to comment.