fixed typo

This commit is contained in:
Samyak Jain 2020-05-23 22:09:25 +10:00
parent 9a931a4036
commit eb62198a10

View File

@ -131,9 +131,9 @@ contract BasicResolver is AaveHelpers {
uint initialBal = token == getEthAddr() ? address(this).balance : TokenInterface(token).balanceOf(address(this));
atoken.redeem(_amt);
uint finialBal = token == getEthAddr() ? address(this).balance : TokenInterface(token).balanceOf(address(this));
uint finalBal = token == getEthAddr() ? address(this).balance : TokenInterface(token).balanceOf(address(this));
_amt = sub(finialBal, initialBal);
_amt = sub(finalBal, initialBal);
setUint(setId, _amt);
emit LogWithdraw(token, _amt, getId, setId);