Removing the unnecessary function #96
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
xxxxx
Vulnerability details
Impact
The unnecessary code can be removed to reduce contract size.
Proof of Concept
In the contract "Alchemist.sol" the function "_expectCaller" is never used.
Tools Used
Remix solidity 0.6.12
Recommended Mitigation Steps
The function "_expectCaller(address _expectedCaller)" can be removed.
The text was updated successfully, but these errors were encountered: