We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b50704 commit 2fadb5eCopy full SHA for 2fadb5e
wrong_constructor_name/README.md
@@ -1,6 +1,6 @@
1
-# Missing constructor
+# Wrong Constructor Name
2
3
-If the constructor of a smart contract is not present (or not spelled the same way as the contract name), it is callable by anyone.
+A function intended to be a constructor is named incorrectly, which causes it to end up in the runtime bytecode instead of being a constructor.
4
5
## Attack
6
Anyone can call the function that was supposed to be the constructor.
0 commit comments