Constructor not used #240
Labels
bug
Something isn't working
G (Gas Optimization)
resolved
Finding has been patched by sponsor (sponsor pls link to PR containing fix)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Handle
Jujic
Vulnerability details
Impact
The constructor is empty. You should remove constructor to save some gas.
Proof of Concept
https://github.com/code-423n4/2022-01-insure/blob/19d1a7819fe7ce795e6d4814e7ddf8b8e1323df3/contracts/InsureDAOERC20.sol#L21
Tools Used
Recommended Mitigation Steps
Remove unused constructor
The text was updated successfully, but these errors were encountered: