ubiquity / ubiquity-dollar

Ubiquity Dollar (UUSD) smart contracts and user interface.
https://uad.ubq.fi
Apache License 2.0
34 stars 91 forks source link

Do not allow to mint dollar when collateral is equal to zero #892

Closed gitcoindev closed 10 months ago

gitcoindev commented 10 months ago

Resolves https://github.com/sherlock-audit/2023-12-ubiquity-judging/issues/207

molecula451 commented 10 months ago

is this ready? @gitcoindev

gitcoindev commented 10 months ago

is this ready? @gitcoindev

Yes, the unit test expects revert, which happens, and passes.