Fixed typo

This commit is contained in:
Thrilok Kumar 2021-01-12 12:18:47 +05:30
parent cf423ed970
commit 175ebfb20e

View File

@ -720,9 +720,9 @@ contract AaveV1Helpers is CompoundHelpers {
uint feeAmt = wmul(amt, fee);
uint _amt = sub(amt, feeAmt);
bool isETH = address(token) == getWethAddr();
bool isEth = address(token) == getWethAddr();
address _token = isETH ? getEthAddr() : address(token);
address _token = isEth ? getEthAddr() : address(token);
if (isEth) {
ethAmt = _amt;