Unverified Commit 3643fe0b by atropos Committed by GitHub

Visibility modifier must be first (#126)

parent b74a1e31
...@@ -43,7 +43,7 @@ Constructors are replaced by internal initializer functions following the naming ...@@ -43,7 +43,7 @@ Constructors are replaced by internal initializer functions following the naming
```diff ```diff
- constructor() ERC721("MyCollectible", "MCO") { - constructor() ERC721("MyCollectible", "MCO") {
+ function initialize() initializer public { + function initialize() public initializer {
+ __ERC721_init("MyCollectible", "MCO"); + __ERC721_init("MyCollectible", "MCO");
} }
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment