internal
function in Auction
can be private
#15
Labels
bug
Warden finding
G (Gas Optimization)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Handle
pants
Vulnerability details
The
internal
functionAuction.withdrawBounty()
is never called by a contract that inheritsAuction
. Therefore, its visibility can be reduced toprivate
.Impact
private
functions are cheaper thaninternal
functions.Tool Used
Manual code review.
Recommended Mitigation Steps
Define this function as
private
.The text was updated successfully, but these errors were encountered: