minor change

This commit is contained in:
Richa-iitr 2022-09-02 03:17:27 +05:30
parent b5e05f353c
commit eaf3a4cbce

View File

@ -616,7 +616,7 @@ abstract contract CompoundV3Resolver is Events, Helpers {
TokenInterface tokenContract = TokenInterface(token_);
convertEthToWeth(isEth, tokenContract, amt_);
approve(tokenContract, market, amt_);
approve(TokenInterface(getBaseToken(market)), market, amt_);
CometInterface(market).buyCollateral(
asset,