minor fix

This commit is contained in:
Thrilok kumar 2022-01-19 18:25:25 +05:30 committed by GitHub
parent 8590a4ef82
commit 06b0fa258f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);