Consider making _calculateFees
inline to save gas
#167
Labels
1 (Low Risk)
Assets are not at risk. State handling, function incorrect as to spec, issues with comments
bug
Something isn't working
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Handle
WatchPug
Vulnerability details
https://github.com/code-423n4/2021-11-nested/blob/f646002b692ca5fa3631acfff87dda897541cf41/contracts/NestedFactory.sol#L553-L559
The function
_calculateFees()
is a rather simple function, replacing it with inline expression_amount / 100
can save some gas.The text was updated successfully, but these errors were encountered: