mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
removed convert eth condition
This commit is contained in:
parent
3b8aa3f0a1
commit
bfe984d5ec
|
@ -208,8 +208,6 @@ abstract contract Helpers is DSMath, Basic {
|
|||
|
||||
amt = bal_ < allowance_ ? bal_ : allowance_;
|
||||
}
|
||||
if (src == address(this))
|
||||
convertEthToWeth(isEth, TokenInterface(token), amt);
|
||||
|
||||
return amt;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user