15,000 USDC
View results
Submission Details
Severity: gas

Function depositCollateralAndMintDsc() doesn't return the collateral funds if the minting process fails.

Summary

Function depositCollateralAndMintDsc() doesn't return the collateral funds if the minting process fails.

Vulnerability Details

It might be a bit confusion when mint failed, and the collateral funds been deposited.

Impact

Tools Used

Recommendations

It's better to return the collateral funds if mint DSC failed.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.