ubiquity / ubiquity-dollar

Ubiquity Dollar (uAD) smart contracts and user interface.
https://uad.ubq.fi
Apache License 2.0
31 stars 82 forks source link

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

Closed gitcoindev closed 5 months ago

gitcoindev commented 5 months ago

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

molecula451 commented 5 months ago

is this ready? @gitcoindev

gitcoindev commented 5 months ago

is this ready? @gitcoindev

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