Question about Lesson: 25. Debugging the fuzz tests handler(DEFi section) #3108
nikitabiichuk2009
started this conversation in
General
Replies: 1 comment 2 replies
-
That is true and we should add the same check . |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In this lesson, we debugged the mintDsc handler by adding a check to make sure that the address has already deposited collateral before minting. However, I don’t understand why we didn’t apply the same check to the redeemCollateral handler. Patrick also didn’t mention this point.
Isn’t it true that we can only redeem collateral if we’ve deposited it first?
Beta Was this translation helpful? Give feedback.
All reactions