Detailed description of the impact of this finding.
If by mistake same delegate value is given multiple times to sources array then withdrawal is affected
Proof of Concept
Provide direct links to all referenced code in GitHub. Add screenshots, logs, or any other relevant proof that illustrates the concept.
In test related to "Should be able to withdraw fully" if same values given to source array like here bob is given 3 times then withdraw test is reverting.
Lines of code
https://github.com/code-423n4/2023-10-ens/blob/main/contracts/ERC20MultiDelegate.sol#L65-L116
Vulnerability details
Impact
Detailed description of the impact of this finding.
If by mistake same delegate value is given multiple times to sources array then withdrawal is affected
Proof of Concept
Provide direct links to all referenced code in GitHub. Add screenshots, logs, or any other relevant proof that illustrates the concept.
In test related to "Should be able to withdraw fully" if same values given to source array like here bob is given 3 times then withdraw test is reverting.
Tools Used
Manually
Recommended Mitigation Steps
Apply check to avoid same multiple values in sources.
Assessed type
Error