Fix compound connector depositCToken setId

This commit is contained in:
Thrilok Kumar 2021-05-15 01:00:44 +05:30
parent fb71978100
commit ac3421fb61

View File

@ -262,7 +262,8 @@ abstract contract CompoundResolver is Events, Helpers {
{ {
uint finalBal = ctokenContract.balanceOf(address(this)); uint finalBal = ctokenContract.balanceOf(address(this));
finalBal - initialBal; _cAmt = sub(finalBal, initialBal);
setUint(setId, _cAmt); setUint(setId, _cAmt);
} }