Closed touqeerShah closed 1 year ago
Did you test this? How would this work if we use the dscEngine
and not the engine
variable?
yes I test i on my local machine sorry for that I used name as engine
in my local code you used it as dscEngine
great I'll close this one and we can talk on the other
redeemCollateral have problem in getCollateralBalanceOfUser function argument so it was never call that why it never give issue it define as user address then contract collateral address but pass swap of it so that why it never run and revert from if conditions