Closed code423n4 closed 3 years ago
0xngndev
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.
Duplicate of #81.
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