NestedFactory: _calculateFees has unused parameter _user #10
Labels
1 (Low Risk)
Assets are not at risk. State handling, function incorrect as to spec, issues with comments
bug
Something isn't working
duplicate
This issue or pull request already exists
Handle
PierrickGT
Vulnerability details
Impact
In _calculateFees, the parameter
_user
is passed to the function but never used inside of it.Proof of Concept
Remove the
_user
parameter in_calculateFees
to gain in code clarity. By removing this parameter, we also need to call the function without passing any address at the following lines:Recommended Mitigation Steps
The following change is recommended.
The text was updated successfully, but these errors were encountered: