code-423n4 / 2021-10-tally-findings

0 stars 0 forks source link

Add Try/Catch on sweepFees function #6

Closed code423n4 closed 3 years ago

code423n4 commented 3 years ago

Handle

0xngndev

Vulnerability details

Concept and Mitigation Steps

When looping through an array of tokens, it's a good idea to implement a try catch in case any of the calls fails and the entire function is reverted, costing a lot of gas.

Recommended Mitigation Steps

Shadowfiend commented 3 years ago

Duplicate of #81.