mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
minor fix
This commit is contained in:
parent
8590a4ef82
commit
06b0fa258f
|
@ -50,7 +50,7 @@ abstract contract Resolver is Events, DSMath, Basic, Helpers {
|
|||
uint _amt = getUint(getId, amt);
|
||||
|
||||
_amt = _amt == uint(-1) ? wethContract.balanceOf(address(this)) : _amt;
|
||||
approve(wethContract, address(wethContract), _amt);
|
||||
approve(wethContract, address(wethFixContract), _amt);
|
||||
wethFixContract.withdraw(_amt);
|
||||
|
||||
setUint(setId, _amt);
|
||||
|
|
Loading…
Reference in New Issue
Block a user