Closed code423n4 closed 1 year ago
https://github.com/code-423n4/2022-11-redactedcartel/blob/03b71a8d395c02324cb9fdaf92401357da5b19d1/src/PirexFees.sol#L100
This fn for distributionFees need modifier since it was used for notify if was special condition was used.
by adding modifier, at example :
modifier Fees { require( initialized, "FeeDistributor: Fees cannot be distributed until Distributor got fees." ); _; }
and adding
bool public initialized;
manual review
Picodes marked the issue as unsatisfactory: Invalid
Lines of code
https://github.com/code-423n4/2022-11-redactedcartel/blob/03b71a8d395c02324cb9fdaf92401357da5b19d1/src/PirexFees.sol#L100
Vulnerability details
Proof of Concept
This fn for distributionFees need modifier since it was used for notify if was special condition was used.
Recommended Mitigation Steps
by adding modifier, at example :
and adding
Tools Used
manual review