Open c4-bot-10 opened 7 months ago
https://github.com/othernet-global/salty-io/blob/main/src/dao/DAO.sol#L141-L146
M-02 stated that L180, which is an external contract call, was not surrounded in a try-catch block and hence if it reverted permanently, the ballot finalization got stuck.
The fix has implemented a try-catch now thus handling the issue.
LGTM
Picodes marked the issue as satisfactory
Picodes marked the issue as confirmed for report
Lines of code
Vulnerability details
Lines of code
https://github.com/othernet-global/salty-io/blob/main/src/dao/DAO.sol#L141-L146
Vulnerability details
Existing Vulnerability details
M-02 stated that L180, which is an external contract call, was not surrounded in a try-catch block and hence if it reverted permanently, the ballot finalization got stuck.
Mitigation
The fix has implemented a try-catch now thus handling the issue.
Conclusion
LGTM