mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
minor change
This commit is contained in:
parent
44549ca066
commit
3013589ec2
|
@ -320,14 +320,14 @@ abstract contract CompoundIIIResolver is Events, Helpers {
|
||||||
uint256 initialBal = getAccountSupplyBalanceOfAsset(
|
uint256 initialBal = getAccountSupplyBalanceOfAsset(
|
||||||
address(this),
|
address(this),
|
||||||
market,
|
market,
|
||||||
token
|
_token
|
||||||
);
|
);
|
||||||
CometInterface(market).withdraw(_token, _amt);
|
CometInterface(market).withdraw(_token, _amt);
|
||||||
|
|
||||||
uint256 finalBal = getAccountSupplyBalanceOfAsset(
|
uint256 finalBal = getAccountSupplyBalanceOfAsset(
|
||||||
address(this),
|
address(this),
|
||||||
market,
|
market,
|
||||||
token
|
_token
|
||||||
);
|
);
|
||||||
|
|
||||||
_amt = sub(finalBal, initialBal);
|
_amt = sub(finalBal, initialBal);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user